aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/gc/hash1.rb
blob: cb030d458dd98b8b5dab8951aebdf4d1ad261b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
value = 0.01
h = {}
n = 50_000

1.upto(n){|i|
  h["%020d" % i] = "v-#{i}"
}

(n * 1_000).times{
  ''
}