summaryrefslogtreecommitdiff
path: root/tool/hashbench1.rb
blob: c67420fcac99df4a5ff01145dc891b3feae5411c (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 * 500).times{
  ''
}