Sha256: ff270e51010fc797aff54e9e4ef807a41160a3288fb6e0e0cc9cc35f467d145c

Contents?: true

Size: 100 Bytes

Versions: 70

Compression:

Stored size: 100 Bytes

Contents

h = {}

10_000.times do |i|
  h[i.to_s] = i
end

10_000.times do |i|
  h.reject!{|k, v| v <= i}
end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
opal-1.4.0 benchmark/bm_hash_reject_bang_string.rb
opal-1.4.0.alpha1 benchmark/bm_hash_reject_bang_string.rb
opal-1.3.2 benchmark/bm_hash_reject_bang_string.rb
opal-1.3.1 benchmark/bm_hash_reject_bang_string.rb
opal-1.3.0 benchmark/bm_hash_reject_bang_string.rb
opal-1.3.0.rc1 benchmark/bm_hash_reject_bang_string.rb
opal-1.3.0.alpha1 benchmark/bm_hash_reject_bang_string.rb
opal-1.2.0 benchmark/bm_hash_reject_bang_string.rb
opal-1.2.0.beta1 benchmark/bm_hash_reject_bang_string.rb
opal-1.1.1 benchmark/bm_hash_reject_bang_string.rb
opal-1.1.1.rc1 benchmark/bm_hash_reject_bang_string.rb
opal-1.1.0 benchmark/bm_hash_reject_bang_string.rb
opal-1.1.0.rc1 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.5 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.4 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.3 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.2 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.1 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.0 benchmark/bm_hash_reject_bang_string.rb
opal-1.0.0.beta1 benchmark/bm_hash_reject_bang_string.rb