Yet another attempt at typed JS data

Andrea Giammarchi andrea.giammarchi at gmail.com
Sat Feb 8 09:45:56 UTC 2020


> having to retroactively add checks like...

we already have typed arrays in JS so I don't think this would be any
different

> I _think_ that moderns virtual machines already did these optimisations
despite there isn't a TypedArray like that.

It's a bit of a mess to create an Array that is not holed and gets best
optimizations [1], and this proposal would like to address that exact case.

[1] https://v8.dev/blog/elements-kinds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20200208/2fad2371/attachment.html>


More information about the es-discuss mailing list