diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/hashbench1.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/hashbench1.rb b/tool/hashbench1.rb index 3e8b0dd95e..c67420fcac 100644 --- a/tool/hashbench1.rb +++ b/tool/hashbench1.rb @@ -1,9 +1,9 @@ value = 0.01 h = {} -n = 100_000 +n = 50_000 1.upto(n){|i| - h["%020d" % i] = value * i + h["%020d" % i] = "v-#{i}" } (n * 500).times{ |