objectbuffer
objectbuffer copied to clipboard
JavaScript Object like api, backed by an arraybuffer
Just wanted to say thank you for putting out this library, really great work! It's a really cool idea. As an open source developer myself I know the feeling if...
When creating hashmap, when check if keys already exists even thu it's guaranteed to be not, because we use `hashMapInsertUpdateKeyIsPointerReturnNode` and not dedicated function https://github.com/Bnaya/objectbuffer/blob/develop/src/internal/hashmap/hashmap.ts#L89-L95 Also maybe avoid re-hash on...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Keyed_collections#weakmap_object See also the analogue WeakSet. (I've seen that you already implemented support for WeakReferences btw)
https://github.com/syg/proposal-structs
First, I want to thank @Bnaya very much for creating and sharing this great library, and for putting in the effort to maintain it. **Keep up the great work!** My...
Support saving values as const values, means they will be nested-immutable, and contiguous memory as possible. Another idea: lock array & object structures, but allow updates that will use same...
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,...
I think we still have some places we use closures instead of explicit variables. We need to find them and refactor them out!