After reset();save(); the only command history left will be that of you typing save(). While there may seem to be a few hundred bytes used most of that is just an artefact of compressing ~80kB of zeros.
I think you'll find that reset();save() reports almost exactly the same number of bytes used as if you just flashed a fresh Espruino image and typed save()
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
After
reset();save();
the only command history left will be that of you typingsave()
. While there may seem to be a few hundred bytes used most of that is just an artefact of compressing ~80kB of zeros.I think you'll find that
reset();save()
reports almost exactly the same number of bytes used as if you just flashed a fresh Espruino image and typedsave()