From: Eric Hodel Date: 2006-04-05T11:05:20+09:00 Subject: Re: Small optimization tips - gcc-4.1 ruby1.9 -O3 On Mar 16, 2006, at 8:01 PM, John Carter wrote: > On Wed, 15 Mar 2006, Vincent Foley wrote: > >> That's a few things I found out today. Does anyone else have quick >> optimization tips? > > Use ruby-1.9 it is faster. > Compile with gcc-4.1 > Optimize > > CC=gcc-4.1 CFLAGS='-march=pentium4 -O3 -fomit-frame-pointer' > CPP=cpp-4.1 \ > CXXFLAGS='-march=pentium4 -O3 -fomit-frame-pointer' 'CXX=g++-4.1' \ > ./configure > make > > > Warning, this may be hazardous for your health, but it works for me. You don't want to compile with -fomit-frame-pointer. See [ruby-core: 7660] -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com