1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/hash_defaults.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
118 B
YAML
Raw Normal View History

prelude: |
h = Hash.new { :foo }
benchmark:
default_aref: h[1]
default_method: h.default(1)
loop_count: 1000000