Bnaya / objectbuffer

JavaScript Object like api, backed by an arraybuffer
MIT License
170 stars 5 forks source link

Track resizablearraybuffer proposal [Stage 3] #158

Open Bnaya opened 3 years ago

Bnaya commented 3 years ago

There's a proposal to make [shared]arraybuffer resizeable in place, which is great for us https://github.com/tc39/proposal-resizablearraybuffer It's expected to be supported quite fast in all of the platforms that supports SharedArrayBuffer, so we probably can make it as a requirement for the library, with A configurable out of memory strategy.

alienself commented 5 months ago

Any update on this? ArrayBuffer now has .resize() in most major browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize

Bnaya commented 5 months ago

I will take a look, but i'm not sure when i will get to it. Would you like to try and make a PR?