From: Navindra Umanee Date: 2005-03-22T12:52:25+09:00 Subject: GC performance (Re: RCR 296: Destructive methods return self) Glenn Parker wrote: > Oooo, pretty! Seems like it might defeat the goal of optimizing things, > unless the reference counting could reduce the overall impact of garbage > collection. > > When I'm playing with simple algorithms, disabling garbage collection > seems to yield a guaranteed 20% speedup, even for relatively short tasks > (< 30 sec.). Interesting observation and benchmark! It might be neat to have further details on how you are testing this. Or is this measurement done on an actual app that you have deployed? I guess it might make sense for a Ruby app to disable GC and invoke it when really necessary in a speed-critical situation. Cheers, Navin.