On 22 January 2014 01:50, Sean Silva <sil...@purdue.edu> wrote: > Your `load` routine is not how I described and is inducing a ton of > cache-busting heap traffic. You need to put *all* strings in a single, > constant array and append references to those constant strings to a single > growing array. There should be no concatenations except for the final > .join(). I.e. something like:
I think that's what it already does. Using += is faster than push-and-join in isolated tests. I could cache uses of num.toString() though. _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss