diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-04 02:52:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-04 02:52:32 +0000 |
commit | 5cd98697f846899a529ad57c165ed5b7e265365c (patch) | |
tree | 3f8287b223a6d6805add119957f270139de7553d /test/ruby/test_math.rb | |
parent | d7628fcfd384235b3313f642fb2a36db890fb6f8 (diff) |
symbol.c: make dsym_fstrs an identity hash
* symbol.c (Init_sym): make dsym_fstrs a hash compared by identity
as the keys are unique fstrings, to get rid of running hash and
compare methods and causing new object allocation during garbage
collection phase. [ruby-dev:48891] [Bug #10933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_math.rb')
0 files changed, 0 insertions, 0 deletions