diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-15 05:59:03 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-15 05:59:03 +0000 |
commit | e279c5d6e5c213b15cde0ba37982a9daa1fb7094 (patch) | |
tree | bf4daf94edadb00c421599a234a5dacd5d211bb0 /hash.c | |
parent | 08638ed7b837bef4ec94bd56e38941e737e42f5d (diff) | |
download | ruby-e279c5d6e5c213b15cde0ba37982a9daa1fb7094.tar.gz |
* hash.c (hash_i): use Murmurhash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1523,8 +1523,7 @@ static int hash_i(VALUE key, VALUE val, int *hval) { if (key == Qundef) return ST_CONTINUE; - *hval ^= rb_hash(key); - *hval ^= rb_hash(val); + *hval ^= rb_hash_end(rb_hash_uint(rb_hash_start(rb_hash(key)), rb_hash(val))); return ST_CONTINUE; } |