|
Boost : |
Subject: Re: [boost] sorting floats by casting to integer
From: Edouard A. (edouard_at_[hidden])
Date: 2009-07-04 04:52:53
>I've been investigating why float_sort is so much faster than std::sort on
>x86 processors, and why sorting integers is so much faster than float_sort,
>and came to the conclusion that floating-point comparisons are extremely
>slow on x86.
Hey Steven,
Is it true even with SSE3 optimizations turned on and data aligned to
16-bytes boundaries?
Which compiler were you using?
Regards.
-- Edouard __________ Information from ESET NOD32 Antivirus, version of virus signature database 4215 (20090704) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk