hash_values.rb   [plain text]


h = {}

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

5000.times do
  h.values
end