delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/05/13:30:56

Newsgroups: comp.os.msdos.djgpp
From: "William A. Barath" <wi534 AT victoria DOT tc DOT ca>
Subject: Re: Pointer to ... and a question
In-Reply-To: <3486C814.5CB2@trash.lip6.fr>
Message-ID: <Pine.GSO.3.95.iB1.0.971205025527.15976L-100000@vtn1>
Sender: news AT freenet DOT victoria DOT bc DOT ca (News Manager)
Organization: Victoria Freenet Association
References: <Pine DOT SUN DOT 3 DOT 91 DOT 971202173056 DOT 12854A-100000 AT is> <Pine DOT GSO DOT 3 DOT 95 DOT iB1 DOT 0 DOT 971203092559 DOT 7828E-100000 AT vtn1> <3486C814 DOT 5CB2 AT trash DOT lip6 DOT fr>
Mime-Version: 1.0
Date: Fri, 5 Dec 1997 10:58:02 GMT
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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