diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-22 00:57:46 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-22 00:57:46 +0000 |
commit | 2ec29f3f7fa0c3e21b666d70312f4f0959346f1c (patch) | |
tree | d40463d80447cf602b75d2c446eb25f98f40b5a3 /regparse.h | |
parent | 25a7dfc6d7c26b19d4a8ece59470a71f399d18df (diff) | |
download | ruby-2ec29f3f7fa0c3e21b666d70312f4f0959346f1c.tar.gz |
hash.c: optimize Hash#compare_by_identity
hash.c (rb_hash_compare_by_id): avoid unnecessary allocation of st_table.
formerly, st_table created in rb_hash_modify() was not used and replaced immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.h')
0 files changed, 0 insertions, 0 deletions