blackdog wrote:

Also, i believe concatenating strings with += is actually very quick
in v8 and one doesn't need to add to, and then join an array.

I'd be very surprised and disappointed in 'join' if it is not dramatically faster than repeatedly using += in a loop. Join can calculate the total string length, and allocate and copy just once. There's no way += can do that.

Best,
- Joe

--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to