summaryrefslogtreecommitdiff
path: root/benchmark/hash_aref_flo.rb
blob: 2217274c822c17b536acf2433bb091706e0e5d4e (plain)
1
2
3
4
h = {}
strs = [*1..10000].map! {|i| i.fdiv(10)}
strs.each { |s| h[s] = s }
50.times { strs.each { |s| h[s] } }