Re: Gnome success report, optimized compiling
- From: Richard Hult <rhult hem2 passagen se>
- To: Soren Harward <soren cinternet net>
- Cc: Gnome Main List <gnome-list gnome org>
- Subject: Re: Gnome success report, optimized compiling
- Date: Sun, 11 Oct 1998 23:54:47 +0200
>I just tried it with the new glib -- I left out most of the '-f'
>optimizations you had in, but from the default I took out -g and put in
>optimizations for pentiumpro (I have a K6). I haven't tried any programs
>yet to see if its faster, but I did notice that the old
>libglib-1.1.so.4.0.0 is 297k, whereas the new, optimized one is only 136k.
>Is that just because I disabled debugging, or would a well-configured egcs
>really produce a lib that's that much smaller?
My guess is that it's the debugging. The optimizations often make the code
a bit bigger, because it's unrolling loops and making things inlined
instead of calling functions.
Richard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]