Giter Club home page Giter Club logo

Comments (3)

wh1t3cAt1k avatar wh1t3cAt1k commented on July 30, 2024

I confirm that using Object.fromEntries() instead of a Map() results in the same error...

image

My estimated buffer size with a factor of 1.25:

image

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.

Bnaya avatar Bnaya commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.