delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/08/09:06:12

Date: Mon, 8 Dec 1997 16:02:46 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "William A. Barath" <wi534 AT victoria DOT tc DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Pointer to ... and a question
In-Reply-To: <Pine.GSO.3.95.iB1.0.971203092559.7828E-100000@vtn1>
Message-ID: <Pine.SUN.3.91.971208160123.4200S-100000@is>
MIME-Version: 1.0

On Wed, 3 Dec 1997, William A. Barath wrote:

> |  `-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...

In my experience, the speedup is only seen when you compile relatively
short functions.  For real-life medium-size functions, -O3 will
slow the code down more often than not.

- Raw text -


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