Mail Archives: djgpp/1998/01/07/19:52:09
At 04:18 1/7/1998 GMT, Ross Boast wrote:
>Mindyou by what you have said i don't think its worth it, i've used -03
>optimization, which does increase performance a great deal, however, i'm a
>speed freak so i want more :) no, not really! i just wanted to see what
>gave better performances, which seems like the compilier
>optimizations.Thats handy because that's generally a lot easier to do and
>understand (and doesn't include pointers!).
FYI, also try -O2. There is some evidence that the function inlining done by
-O3 tends to overflow caches and result in a speed penalty. Functions
explicitly declared `inline' will still be inlined, so you can do this for
small functions.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -