diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-08 18:25:01 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-08 18:25:01 +0000 |
commit | 5d4d154553d4c19e3ee9a526148eb615cb2c2d79 (patch) | |
tree | 5aeb3ccdac988886f0d3c270eb46721639734f34 /hash.c | |
parent | 9ec903b6c89ffe7bbb4ddf1c2b5d22965d6adf9c (diff) |
* hash.c (hash_i): make Hash#hash order insensitive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1602,7 +1602,6 @@ hash_i(key, val, hval) { if (key == Qundef) return ST_CONTINUE; *hval ^= rb_hash(key); - *hval *= 137; *hval ^= rb_hash(val); return ST_CONTINUE; } |