From 165e10b6cf73f723c2f6af676b70aeb2d8cf85c9 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 11 Dec 2015 02:38:20 +0000 Subject: compile.c: rehash cdhash * compile.c (iseq_compile_each, ibf_load_object_hash): rehash case-dispatch hash to reduce collisions. http://d.hatena.ne.jp/ku-ma-me/20151210 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index 1fd9d12e15..52479c0ac2 100644 --- a/hash.c +++ b/hash.c @@ -734,7 +734,7 @@ rb_hash_rehash_i(VALUE key, VALUE value, VALUE arg) * h[a] #=> 100 */ -static VALUE +VALUE rb_hash_rehash(VALUE hash) { VALUE tmp; -- cgit v1.2.3