From: "M. Edward (Ed) Borasky" Date: 2007-09-24T14:21:34+09:00 Subject: Re: How fast does your Ruby run? Felix Windt wrote: > Vanilla Ubuntu, which is still tracking the 4.1 branch: > > ~$ gcc -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure -v > --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr > --enable-shared --with-system-zlib --libexecdir=/usr/lib > --without-included-gettext --enable-threads=posix --enable-nls > --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu > --enable-libstdcxx-debug --enable-mpfr --enable-checking=release > i486-linux-gnu > Thread model: posix > gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) > > I'm curious whether 4.2 would give further performance enhancements - maybe > if I have some time this week I'll build a tool chain to test with. > > Felix It's unlikely to be faster in a statistically significant sense. As a matter of fact, in many cases the *older* gcc versions give faster code! Poke around on Anton Ertl's Forth/VMgen site and you'll find that *his* performance hit a peak with gcc 2.95 and has been dropping steadily with each new gcc since then. :)