It always says 81600 bytes when you save, because that's how much RAM is dedicated to JS code.
Espruino basically saves an image of RAM to Flash when you save(), so it saves all 81600 bytes as your code and variables could be anywhere within that memory space.
What it does do is set all the unused RAM to 0, so it compresses down to virtually nothing - hence the compressed to text.
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.
It always says
81600 bytes
when you save, because that's how much RAM is dedicated to JS code.Espruino basically saves an image of RAM to Flash when you
save()
, so it saves all 81600 bytes as your code and variables could be anywhere within that memory space.What it does do is set all the unused RAM to 0, so it compresses down to virtually nothing - hence the
compressed to
text.