From: Yusuke Endoh Date: 2010-03-18T21:16:13+09:00 Subject: [ruby-core:28746] [Feature #1047](Feedback) request: getters, setters for the GC Issue #1047 has been updated by Yusuke Endoh. Status changed from Open to Feedback Target version set to 1.9.x Hi, > I've attached a patch adding getters and setters for HEAP_MIN_SLOTS and GC_MALLOC_LIMIT. My personal opinions: - Though I think a few rough "modes" is acceptable (e.g., -server and -clients of Java), such a specific parameter tuning is not Ruby way. - The name `malloc_limit' is very arguable because it is too specific to implementation-detail of MRI. - HEAP_MIN_SLOTS is just referred when the interpreter is initialized. So I guess dynamic change of HEAP_MIN_SLOTS makes no sense. - I cannot reproduce performance improvement as shown by Roger. Could you show me a self-contained code to run benchmark? Thanks, -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1047 ---------------------------------------- http://redmine.ruby-lang.org