diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-26 05:33:28 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-26 05:33:28 +0000 |
commit | 667c0a3a8caeaa96378f778ee2fbef1b51c3cd13 (patch) | |
tree | 1de2fe805226a52bd752a09e18bd8139912e7787 /benchmark/bm_hash_shift_u24.rb | |
parent | a52be8fb8fc61d7e0aa4cba452c30497fd495590 (diff) |
Signal.list deduplicates keys
This allows us to reuse string objects used in symbols as well
as any string representations of signal names in source code.
* signal.c (sig_list): use fstring for hash key
* test/ruby/test_signal.rb (test_signal_list_dedupe_keys): added
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_hash_shift_u24.rb')
0 files changed, 0 insertions, 0 deletions