summaryrefslogtreecommitdiff
path: root/jni/ruby/benchmark/gc/hash2.rb
blob: e8c943fb212d2927fef655a75bc4474673ae429e (plain)
1
2
3
4
5
6
7
value = 0.01
h = {}
n = 4*(10**6)

1.upto(n){|i|
  h["%020d" % i] = value * i
}