From: Hugh Sasse Date: 2005-11-29T01:03:37+09:00 Subject: building ruby for speed: wise or otherwise? My active record based script is taking longer than I'd like. While I wait for approval to get a faster machine :-) I'm wondering about rebuilding ruby 1.8.2 (which I have now) and changing the CFLAGS from the default CFLAGS=-g -O2 to CFLAGS=-O3 or something of the sort. I'm presently using gcc-3.4.3 on Solaris9. Has anyone done this and if so is there anything I should watch out for? ISTR reported problems when building other packages with high -O values in the past. Would the answer be different for gcc-4.0.2? Thank you, Hugh