hash_flatten.rb   [plain text]


h = {}

10000.times do |i|
  h[i] = nil
end

1000.times do
  h.flatten
end