mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8 lines
110 B
YAML
8 lines
110 B
YAML
|
prelude: |
|
||
|
floats = [*0.0.step(1.0, 0.0001)]
|
||
|
|
||
|
benchmark:
|
||
|
to_s: floats.each {|f| f.to_s}
|
||
|
|
||
|
loop_count: 1000
|