From: Brent Roman Date: 2009-01-27T14:47:03+09:00 Subject: [ruby-core:21595] Re: [Feature #1047] request: getters,setters for the GC Kurt, I now use code like this: GC.limit=200000 if GC.respond_to? :limit All we have to do is make an effort to ensure that GC.limit= always does the same thing if GC responds to it. - brent Kurt Stephens wrote: > > 1) Changing a compile-time constant to a Ruby variable (or global > variable) may have a performance impact. > 2) If the tuning parameter is MRI-specific, how about namespacing it as > GC::MRI.heap_min_slots or GC.mri_heap_min_slots? > > > -- View this message in context: http://www.nabble.com/-ruby-core%3A21552---Feature--1047--request%3A-getters%2C-setters-for-the-GC-tp21645023p21680072.html Sent from the ruby-core mailing list archive at Nabble.com.