objectbuffer icon indicating copy to clipboard operation
objectbuffer copied to clipboard

Track resizablearraybuffer proposal [Stage 3]

Open Bnaya opened this issue 4 years ago • 2 comments

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.

Bnaya avatar Jul 14 '21 09:07 Bnaya

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

alienself avatar Mar 24 '24 17:03 alienself

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?

Bnaya avatar Mar 26 '24 20:03 Bnaya