Code compilation alternative to Function()

Gustavs Tēbergs fixplzsecrets at
Tue Jan 21 18:06:37 PST 2014

On 22 January 2014 01:50, Sean Silva <silvas at> 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()

More information about the es-discuss mailing list