typed array filling convenience AND performance
Brendan Eich
brendan at mozilla.org
Tue Nov 4 11:08:49 PST 2014
Steve Fink wrote:
> On a related note, I*would* like to have some way of getting the OS to
> decommit memory. Seehttps://bugzilla.mozilla.org/show_bug.cgi?id=855669
> (start reading at about comment 22) for our discussion and attempt at
> this, which looks like it mysteriously trailed off this lastMarch.
> Theoretically, the above loop could also trigger a decommit, but I think
> it's too much to expect the engine to guess when that's going to be a
> good idea. On the other hand, from a spec POV it's unobservable
> behavior, which makes it weird.
ArrayBuffer.transfer
(https://gist.github.com/andhow/95fb9e49996615764eff) is an ES7 stage 0
proposal, needs to move to stage 1 soon. It enables decommitting memory.
/be
More information about the es-discuss
mailing list