From: Dave Thomas Date: 2000-04-21T18:50:37-05:00 Subject: [ruby-talk:02567] Re: frozen behavior matz@netlab.co.jp (Yukihiro Matsumoto) writes: > |For initial testing of code, I am not concerned about memory leaking. > |I want programm run fast. A while ago on the mailing list, I pointed > |out GC often causes slowdown as twice as GC.disabled. so I'd like to > |switch GC mode in different situations. > > In case you take your own risk, try this: > > % cat nogc.rb > GC.disable > > % ruby -r nogc Or perhaps a command line argument to preallocate a honking big heap might be useful. Wouldn't that make his programs even faster? Dave