summaryrefslogtreecommitdiff
path: root/benchmark/hash_aref_fix.rb
blob: 13468905822aca1fcc9df8712b9d6a4309dd9691 (plain)
1
2
3
4
h = {}
nums = (1..26).to_a
nums.each { |i| h[i] = i }
200_000.times { nums.each { |s| h[s] } }