"Tom Sawyer" wrote in
....
> > "junk#{x}morejunk" is much faster then "junk" << x << "morejunk"
>
> oh, FYI, both of these are faster then "junk" + x + "morejunk"

If you are into speed try

 'junk' << arr.join('morejunk, junk') << 'morejunk'

/Christoph