From: John Carter Date: 2006-03-17T13:01:47+09:00 Subject: Re: Small optimization tips - gcc-4.1 ruby1.9 -O3 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. ps. Anyone worked out how to use gcc profile feedback to build a faster ruby yet? John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand Carter's Clarification of Murphy's Law. "Things only ever go right so that they may go more spectacularly wrong later." From this principle, all of life and physics may be deduced.