ruby--ruby/benchmark/marshal_dump_flo.rb

3 lines
79 B
Ruby

bug10761 = 10000.times.map { |x| x.to_f }
100.times { Marshal.dump(bug10761) }