DEBSOURCES
Skip Quicknav
sources / ruby2.3 / 2.3.3-1%2Bdeb9u8 / benchmark / gc / hash1.rb
1234567891011
value = 0.01 h = {} n = 50_000 1.upto(n){|i| h["%020d" % i] = "v-#{i}" } (n * 1_000).times{ '' }