On 05/29/2015 06:55 AM, Momo wrote:
Perhaps you can give me another detailed answer.
I get a slowdown for all parts (ref, copy and move) if I use
uninitialized floats.

Floating point variables are initialized to .nan of their types (e.g. float.nan). Apparently, the CPU is slow when using those special values:


http://stackoverflow.com/questions/3606054/how-slow-is-nan-arithmetic-in-the-intel-x64-fpu

Ali

Reply via email to