documentcloud/underscore — pull request #542 by braddunbar (2012-04-06 14:11:47+00:00)
Title: _.template Uses Concatenation

As discussed in #540, using string concatenation instead of Array#join in `_.template` appears to be [roughly twice as fast][jsperf] in most browsers (Opera would seem to be the oddball here). I haven't yet tested IE because github is serving scripts as plain text and IE blocks them. I'll look for a workaround later today.

*Note: The implementation of `print` was necessarily changed.*

[jsperf]: http://jsperf.com/template-concat-vs-join