mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
11 lines
92 B
Ruby
11 lines
92 B
Ruby
|
h = {}
|
||
|
|
||
|
10000.times do |i|
|
||
|
h[i] = nil
|
||
|
end
|
||
|
|
||
|
50000.times do
|
||
|
k, v = h.shift
|
||
|
h[k] = v
|
||
|
end
|