News for hackers. Stuff that matters.
Re:JavaScript Tips by phoboslab on Thursday May 06, 2010 @08:06AM (#1324195)
The array.join vs. string concat tip is bogus. Might have been true some years ago, but joining an array is only marginally faster in Firefox and even slower in Chrome than concatenating strings:

http://www.phoboslab.org/crap/jsarrayconcat.html

Re:JavaScript Tips by compay on Thursday May 06, 2010 @08:18AM (#1324225)
Good to know. I've been reflexively doing that for many years now, and wasn't aware that JS implementations had finally optimized around it.