Comments (3)
I confirm that using Object.fromEntries()
instead of a Map() results in the same error...
My estimated buffer size with a factor of 1.25:
Still fails, as you can see from the first screenshot...
Is it a multiplicative factor or a completely unpredictable one? What is your empirical value?
from objectbuffer.
Hey Pavel :)
If you may, you can share with me some of your data and i can take a look.
maybe there's a bug that makes it use more memory than it should,
but I'm sorry in advance, but there is no reliable way, from various reasons.
And I'm aiming to be compatible in anyway to 3rd party libs like object-sizeof
not to mimic, nor to reason about their logic
My library is a very different animal.
And i don't think objectbuffer will help you to save memory compare to using native js objects
from objectbuffer.
Related Issues (20)
- [Optimizations] In hashmap creation don't check if key already exists in bucket
- Add more benchmarks to CI
- Make object faster maybe similar to https://v8.dev/blog/fast-properties HOT 6
- Global string dedup cache
- Why does Node.js not provide something like SharedObjectBuffers out of the box? HOT 4
- look for v8 deopts
- Data structures notes [WIP]
- Allocator changes working plan HOT 1
- Near-term work plan
- [Feat]Iterative/non-blocking memory reclaim
- [Feat]Remove the class wrapper on top of the functional allocator
- [Feat]Find and refactor-out closures
- Explore thread-safe lock-free data structures using atomics
- Track resizablearraybuffer proposal [Stage 3] HOT 2
- [BUG] Make not sense when i tried to get non-existent array index HOT 4
- Track structs - Fixed Layout Objects proposal [Stage 1]
- npm run browser-playground not working: SyntaxError: Cannot use import statement outside a module HOT 2
- Would it make sense to support WeakMaps? HOT 1
- RangeError: Start offset undefined is outside the bounds of the buffer HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objectbuffer.