mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
6 lines
144 B
Ruby
6 lines
144 B
Ruby
|
h = {}
|
||
|
arrays = (0..99).each_slice(10).to_a
|
||
|
#STDERR.puts arrays.inspect
|
||
|
arrays.each { |s| h[s] = s }
|
||
|
200_000.times { arrays.each { |s| h[s] } }
|