Optimizer of D

Lionello Lunesu lio at lunesu.remove.com
Thu Mar 8 03:22:50 PST 2007


g wrote:
> Indeed you're right, it worked :) By adding -inline and -nofloat and using the 14 constant, I obtain the following timings:
> 
> DMD
>  -> time: 144422µs, y=165632
> GDMD
>  -> time: 5257µs, y=165632
> G++
>  -> time: 5051µs, y=165632

These last twi timings are so small, I bet there's nothing left in the 
resulting binary but the writefln's.. Try passing information to the 
program using the command line arguments, for example the mass, force 
and the loop-count.

L.



More information about the Digitalmars-d mailing list