• Reference page says that "E.getSizeOf() returns the number of variable blocks used by the supplied variable".
    But how should I estimate the real size of entities in my app? For example, E.getSizeOf(Number.MAX_VALUE) returns 1, meanwhile the bocksize is 14 (according to process.memory) and espruino numbers are 64bit. It just makes no sense for me.

    Sorry for asking kind of stupid question, but I really want to figure out how to calculate size of objects as preciese as possible. Thanks for answer in advance!

About

Avatar for Nicktonious @Nicktonious started