Joined July 2015

Cool Fire


Expanded this test to also include:
str = "#{str}abcdefg"

Seems to be even slower. ~18 seconds for plus vs. ~23 seconds for the #{str} notation doing 100000 concats. Tried about 10 times each so not super reliable but seems pretty consistent.

Further testing with other concatenations seems to show that str << "abcdefg" is even faster than .concat. But not by much. I would like to hear if anyone else can reproduce these results.

1 Karma
0 Total ProTip Views