Expected performance

Michel Fortin michel.fortin at michelf.com
Wed Nov 7 03:37:24 PST 2007


On 2007-11-07 05:06:55 -0500, Aarti_pl <aarti at interia.pl> said:

> Did you turn on optimizations when compiling D code?
> 
> -inline        do function inlining
> -O             optimize
> -release       compile release version

He's using GDC, so that would rather be:

-finline-functions
one of -O3 (fastest) or -Os (fastest, smaller)
-frelease

You could also optimize intruction scheduling for a specific processor; 
for me that would be:

-mtune=G4

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list