Given: h = {}; (1..100).each {|v| h[v.to_s] = v }. You can use the memory_profiler gem to measure allocations.
確定! 回上一頁