typed array filling convenience AND performance
Andreas Rossberg
rossberg at google.com
Sun Nov 2 23:54:16 PST 2014
On 31 October 2014 16:40, Katelyn Gadd <kg at luminance.org> wrote:
> I'd also like to chime in since this is a real problem for
> performance-sensitive JSIL code:
> The idea that JS runtimes will just optimize all our
> performance-sensitive loops is lovely. It also appears to be a
> fantasy, because we've been writing those loops for years and
> they're still slow. I did some extensive testing and experimentation
> with spidermonkey a year or so back, examining how it optimized
> various forms of a memcpy loop, and the results were pretty dire. V8
> didn't seem to fare much better, though it is harder to tell because
> they don't trivially expose generated native code for functions.
Hm, just an aside, but I wonder what you mean by "trivially" here. It
is only one flag away.
/Andreas
More information about the es-discuss
mailing list