You could copy jsfLoadStateFromFlash and then make it decompress all the code without writing it anywhere.
Personally I'd say this is all getting a bit too complicated though - in a way it's nice just to have two clear numbers of vars available that you can tell people: It's X with, Y without.
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.
You could copy jsfLoadStateFromFlash and then make it decompress all the code without writing it anywhere.
Personally I'd say this is all getting a bit too complicated though - in a way it's nice just to have two clear numbers of vars available that you can tell people: It's X with, Y without.