summaryrefslogtreecommitdiff
path: root/benchmark/vm_dstr_nil.rb
blob: ec4f5d6c677df84e46afad972545ddc2f14de07b (plain)
1
2
3
4
5
6
i = 0
x = y = nil
while i<6_000_000 # benchmark loop 2
  i += 1
  str = "foo#{x}bar#{y}baz"
end