> 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
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to