Project

General

Profile

Actions

Feature #1047

closed

request: getters, setters for the GC

Added by rogerdpack (Roger Pack) over 15 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
[ruby-core:21552]

Description

=begin
It has been shown that increasing the malloc_limit can have a dramatic effect in speeding up certain programs.
ex:

Ruby 1.9 normal:
real-world/bm_hilbert_matrix.rb,
4.0054624080658,4.09904861450195,4.052255511283875,0.046793103218079,50

ruby 1.9 trunk with increased malloc_limit [1]
real-world/bm_hilbert_matrix.rb,
2.87246918678284,2.8920271396637,2.882248163223267,0.009778976440430,50

So I would like to request getters and setters for malloc_limit, HEAP_MIN_SLOTS, etc, if that's possible.
Thanks much!
-=r

[1] http://groups.google.com/group/ruby-benchmark-suite/browse_thread/thread/f56b4335cfd3ec57
=end


Files

1047.patch (3.51 KB) 1047.patch Patch for issue #1047. adgar (Michael Edgar), 03/05/2010 05:10 AM
bm_hilbert_matrix.rb (682 Bytes) bm_hilbert_matrix.rb rogerdpack (Roger Pack), 03/20/2010 01:45 AM
patch-1.9.2-gc.patch (3.32 KB) patch-1.9.2-gc.patch patch for setting GC parameters from environment variables funny_falcon (Yura Sokolov), 03/06/2011 04:38 PM
patch-1.9.2-gc-methods.patch (3.21 KB) patch-1.9.2-gc-methods.patch patch for GC parameters getters and setters funny_falcon (Yura Sokolov), 03/06/2011 06:07 PM
patch-1.9.2-gc-methods.patch (3.21 KB) patch-1.9.2-gc-methods.patch patch for GC parameters getters and setters funny_falcon (Yura Sokolov), 03/06/2011 06:08 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0