diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-09 03:44:12 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-10-09 03:44:12 +0000 |
commit | 098b0ba572d624acdc2af1925db7feda4b72881e (patch) | |
tree | a0e2bed56264ea86dece8996b81bc969911a4296 /bin/ri | |
parent | 3cb3966838601acf6490c30077f482dafe4db2d7 (diff) | |
download | ruby-098b0ba572d624acdc2af1925db7feda4b72881e.tar.gz |
benchmark/bm_hash_aref_sym*.rb: force static symbols
Dynamic symbols hash more slowly because they need extra method
dispatch in rb_any_hash. I am not sure if dynamic symbols are
a realistic use case as hash keys, so this commit only
restores performance when comparing against versions of Ruby
which lack dsyms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin/ri')
0 files changed, 0 insertions, 0 deletions