Ah, -Os was by *FAR* the slowest! BillK
On Wed, 2003-10-22 at 12:46, Norberto Bensa wrote: > Matt Garman wrote: > > On Wed, Oct 22, 2003 at 07:08:39AM +0800, William Kenworthy wrote: > > > On all the machines (athlon t-bird, p4) I have tried so far, -O3 > > > always decreases performance - O2 is best (dramatically so on > > > something like a > > > > Indeed, in this case, O2 is faster than O3. I assumed Debian's gcc > > package was compiled with O2, so I just re-merged my gentoo gcc using > > O2. I recompiled my program, and now it is back to its better running > > time (two or three seconds to load all the records in memory). > > Yup. That's why I'm recompiling my whole system with -Os (even gcc, glibc, > kernel, etc.) > > Regards, > Norberto -- [EMAIL PROTECTED] mailing list