Mail Archives: djgpp/1996/02/05/06:28:12
On Sun, 4 Feb 1996, Charles Sandmann wrote:
> Actually, -O3 inlines everything in sight, including static routines (and
> even non-static ones in the same module). So the executable may get much
> larger in size. Unless you use lots of tiny routines, I prefer -O2.
My experience is that -O3 almost never makes things better, except,
maybe, when compiling a well-modularized library.
When in doubt, I usually make it both ways and time the results.
- Raw text -