repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
benchmark
/
vm_dstr_ary.rb
blob
1d3aa3b97b0ec9b9a80572a11227b7989bb0eeaf
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