Re: Compiling packages for the standard distribution with -Os instead of -O2
On Fri, May 05, 2006 at 03:54:57AM +0200, Goswin von Brederlow wrote:
> "Joe Smith" <unknown_kev_cat@hotmail.com> writes:
>> Wait a second. Optimizing for size should decrease speed.
>> That is the whole idea of size/speed optimization tradeoffs.
> A lot of the time the reduced ram requirement can stop swapping (big
> speed increase) and improve the cache hit ratios.
Also, a good part of perceived slowness is loading the executable and
libraries from disk; that also gets faster with a smaller executable.
--
Lionel
Reply to: