Mail Archives: djgpp/1997/12/05/13:30:56
On Thu, 4 Dec 1997, Fabrice ILPONSE wrote:
|William A. Barath wrote:
|> On Tue, 2 Dec 1997, Eli Zaretskii wrote:
|> |Of course, it's documented. Here's a fragment from gcc's Info docs:
|> |
|> | `-O3'
|> | Optimize yet more. `-O3' turns on all optimizations specified by
|> | `-O2' and also turns on the `inline-functions' option.
|>
|> Which will make your program faster if it doesn't bloat it to the point
|> that it can no longer be efficiently cached...
|
| I always use the -O2 option. I prefer keeping the function call rather
|inlining function that'll make my prog bigger (When i'm programming, i
|allways take in account the function calls)!!
I will use the -O3 when I feel lazy and I want something to run at best
speed, and it makes the program faster. But if I'm releasing software in
binary form you can be sure I will profile it and only apply inlining to
specific functions that will make a difference.
Wil Barath, aka WseM : "I feel as though I see my pen to write"
Author of VPM, EDITPLN, and other VGA Planets support programs
Visit my homepage! -------------> http://victoria.tc.ca/~wi534
- Raw text -