Issue #2837 has been updated by nobu (Nobuyoshi Nakada). This patch contains not only the subject but also the accessors. It isn't acceptable and you should separate them, I think. ---------------------------------------- Feature #2837: Compile-time constant for HEAP_GROWTH_FACTOR (patch attached) https://bugs.ruby-lang.org/issues/2837#change-37292 Author: adgar (Michael Edgar) Status: Assigned Priority: Normal Assignee: authorNari (Narihiro Nakamura) Category: core Target version: next minor =begin The GC currently increases the size at which newly-created heaps by a factor of 1.8 for each heap. Some find it appropriate to modify this value (REE uses a value of 1 instead of 1.8, for example). In the trunk version of this code, that value is hard-coded in as a constant at 1.8 in gc.c:980. I've included a patch to expose this as a compile-time constant (HEAP_GROW_FACTOR), and also included getters and setters in the style of the patch I submitted in Issue 1047: http://redmine.ruby-lang.org/issues/show/1047 . =end
on 2013-03-05 03:03
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.