delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/07/19:52:09

Date: Wed, 7 Jan 1998 16:49:46 -0800 (PST)
Message-Id: <199801080049.QAA10413@adit.ap.net>
Mime-Version: 1.0
To: "Ross Boast" <Rossa AT btinternet DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: I Thankyor

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019