summaryrefslogtreecommitdiff
path: root/benchmark/hash_aref_fix.yml
blob: 5469d2a2dbde90df01c1c27cb62740817115c190 (plain)
1
2
3
4
5
6
7
benchmark:
  hash_aref_fix: |
    h = {}
    nums = (1..26).to_a
    nums.each { |i| h[i] = i }
    200_000.times { nums.each { |s| h[s] } }
loop_count: 1