typed array filling convenience AND performance

Brendan Eich brendan at mozilla.org
Tue Nov 4 17:15:27 PST 2014

Steve Fink wrote:
> I'm not sure we're talking about the same thing. I'm talking about what
> would be madvise(MADV_DONTNEED) on POSIX or VirtualAlloc(MEM_RESET) on
> Windows. Er... actually, I think it would be MEM_RESET followed by
> MEM_COMMIT to get the zero-filling while still releasing the physical pages.

Luke should weigh in. I had in mind the words "either truncated or 
zero-extended to be newByteLength" from



More information about the es-discuss mailing list