зеркало из https://github.com/github/ruby.git
6 строки
144 B
Ruby
6 строки
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] } }
|