summaryrefslogtreecommitdiff
path: root/benchmark/hash_defaults.yml
blob: 833f10e1c766f2df3d3fb566fe1a9e1b0039bb59 (plain)
1
2
3
4
5
6
prelude: |
  h = Hash.new { :foo }
benchmark:
  default_aref: h[1]
  default_method: h.default(1)
loop_count: 1000000