> From: Andreas Rossberg <[email protected]>
> To: Katelyn Gadd <[email protected]>
> Cc: es-discuss <[email protected]>
> Date: Mon, 3 Nov 2014 08:54:16 +0100
> Subject: Re: typed array filling convenience AND performance
> On 31 October 2014 16:40, Katelyn Gadd <[email protected]> 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.

Try `node --allow-natives-syntax`, and take a look at the runtime-*.cc
files at https://github.com/v8/v8-git-mirror/tree/master/src/runtime (`grep
RUNTIME_FUNCTION`)

>
> /Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to