Sha256: 2a40b4086a4c7b30efab17d857e297d82fbc59ea6872520788bf623494a79d7f

Contents?: true

Size: 82 Bytes

Versions: 70

Compression:

Stored size: 82 Bytes

Contents

h = {}

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

100.times do |i|
  h.clone
end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
opal-0.11.4 benchmark/bm_hash_clone_string.rb
opal-0.11.3 benchmark/bm_hash_clone_string.rb
opal-0.11.2 benchmark/bm_hash_clone_string.rb
opal-0.11.1 benchmark/bm_hash_clone_string.rb
opal-0.11.1.pre benchmark/bm_hash_clone_string.rb
opal-0.10.6 benchmark/bm_hash_clone_string.rb
opal-0.10.6.beta benchmark/bm_hash_clone_string.rb
opal-0.11.0 benchmark/bm_hash_clone_string.rb
opal-0.10.5 benchmark/bm_hash_clone_string.rb
opal-0.10.4 benchmark/bm_hash_clone_string.rb
opal-0.11.0.rc1 benchmark/bm_hash_clone_string.rb
opal-0.10.3 benchmark/bm_hash_clone_string.rb
opal-0.10.2 benchmark/bm_hash_clone_string.rb
opal-0.10.1 benchmark/bm_hash_clone_string.rb
opal-0.10.0 benchmark/bm_hash_clone_string.rb
opal-0.10.0.rc2 benchmark/bm_hash_clone_string.rb
opal-0.9.4 benchmark/bm_hash_clone_string.rb
opal-0.9.3 benchmark/bm_hash_clone_string.rb
opal-0.10.0.rc1 benchmark/bm_hash_clone_string.rb
opal-0.10.0.beta5 benchmark/bm_hash_clone_string.rb