[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / vm_dstr_ary.rb
blob1d3aa3b97b0ec9b9a80572a11227b7989bb0eeaf
1 i = 0
2 x = y = []
3 while i<6_000_000 # benchmark loop 2
4   i += 1
5   str = "foo#{x}bar#{y}baz"
6 end