diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-03 08:27:43 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-03-03 08:27:43 +0000 |
commit | 384e8e668065f975487665e99a11434c99348c4f (patch) | |
tree | eb1572f2a7cb2bc2f26ebdcea70bc260812bfcdb /ChangeLog | |
parent | bbc2f80a32b52b79586829e46ec97781456f9080 (diff) | |
download | ruby-384e8e668065f975487665e99a11434c99348c4f.tar.gz |
* 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 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Mon Mar 3 17:25:45 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * 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. + Mon Mar 3 17:15:09 2008 Yukihiro Matsumoto <matz@ruby-lang.org> * re.c (rb_reg_regsub): remove too strict encoding check. |