summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-03 08:27:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-03 08:27:43 +0000
commit384e8e668065f975487665e99a11434c99348c4f (patch)
treeeb1572f2a7cb2bc2f26ebdcea70bc260812bfcdb /lib
parentbbc2f80a32b52b79586829e46ec97781456f9080 (diff)
* gc.c (add_heap): sort heaps array in ascending order to use
binary search. * gc.c (is_pointer_to_heap): use binary search to identify object in heaps. works better when number of heap segments grow big. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions