1 2 3 4 5 6 7 8 9 10 11 12
benchmark: hash_flatten: | h = {} 10000.times do |i| h[i] = nil end 1000.times do h.flatten end loop_count: 1