diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-29 12:39:21 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-29 12:39:21 +0000 |
commit | eb8f91866e0bd08a6eef9c9a2bc1318e06b4ee4d (patch) | |
tree | fde6bac860df6f22615a68c9835153eefb4d6c62 /enc/trans | |
parent | 952e444877f53492ba0c8ddae7a1fe413b536ec1 (diff) |
* hash.c (rb_hash_assoc): performance improvement by replacing
compare function in RHASH(hash)->ntbl->type temporarily like r42224.
it falls back to rb_hash_foreach() if st_lookup() doesn't find the key.
* test/ruby/test_hash.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans')
0 files changed, 0 insertions, 0 deletions