DEBSOURCES
Skip Quicknav
sources / ruby3.4 / 3.4.9-1~exp1 / 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{ '' }