Compiler optimizations

dennis luehring dl.soluz at gmx.net
Sun Apr 30 23:42:30 PDT 2006


Craig Black schrieb:
> This is probably because you have SSE optimizations disabled.
> This one works even without SSE.  This shows that integer division is
> slower.  Also, if you change the division to multiplication, you will notice
> that integer multiplication is faster, which is what you would expect.

your right the double version is faster - i don't think that it can be 
used with integer division - because the to-float and back-to-int 
conversion costs too much...

ciao dennis



More information about the Digitalmars-d mailing list