Sha256: a354584664b7b5e16b2438af55949ef6286980dd7eea3ebb8d64bed130af6d82

Contents?: true

Size: 110 Bytes

Versions: 70

Compression:

Stored size: 110 Bytes

Contents

h = {}
a = []

10_000.times do |i|
  a[i] = Object.new
  h[a[i]] = nil
end

10_000.times do |i|
  h[a[i]]
end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
opal-0.10.0.beta4 benchmark/bm_hash_element_reference_object.rb
opal-0.10.0.beta3 benchmark/bm_hash_element_reference_object.rb
opal-0.10.0.beta2 benchmark/bm_hash_element_reference_object.rb
opal-0.10.0.beta1 benchmark/bm_hash_element_reference_object.rb
opal-0.9.2 benchmark/bm_hash_element_reference_object.rb
opal-0.9.0 benchmark/bm_hash_element_reference_object.rb
opal-0.9.0.rc1 benchmark/bm_hash_element_reference_object.rb
opal-0.9.0.beta2 benchmark/bm_hash_element_reference_object.rb
opal-0.9.0.beta1 benchmark/bm_hash_element_reference_object.rb
opal-wedge-0.9.0.dev benchmark/bm_hash_element_reference_object.rb