зеркало из https://github.com/github/ruby.git
11 строки
101 B
Ruby
11 строки
101 B
Ruby
|
h = {}
|
||
|
|
||
|
(16384..65536).each do |i|
|
||
|
h[i] = nil
|
||
|
end
|
||
|
|
||
|
300000.times do
|
||
|
k, v = h.shift
|
||
|
h[k] = v
|
||
|
end
|