1 2 3 4 5 6 7 8 9 10 11
value = 0.01 h = {} n = 100_000 1.upto(n){|i| h["%020d" % i] = value * i } (n * 500).times{ '' }