Sha256: fff7bc7cac0729cd024e6220c78d87fac585fdc4d8915087c515ee659cf614f3

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

require 'google_hash'
a = GoogleHashSmall.new
puts
a[3] = 4

require 'benchmark'
b = {}
puts Benchmark.realtime { 1000.times { 1000.times {|n| b[n] = 4}}}
puts Benchmark.realtime { 1000.times { 1000.times {|n| a[n] = 4}}}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google_hash-0.0.0 ext/test.rb