[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / complex_float_new.yml
blob6fcde3125b7d95e129e41bd01bd20346596251b1
1 prelude: |
2   max, min = 1000.0, -1000.0
3   a = Complex(rand(max)+min, rand(max)+min)
4   b = Complex(rand(max)+min, rand(max)+min)
5 benchmark:
6   complex_float_new: c = Complex(a, b)
7 loop_count: 1000000