If you try the builds from GitHub as of just now, I've enabled the native string copying.
I guess we'll see if anyone complains - the main issue I see is using the new E.setBootCode which is the Save on Send option in the Web IDE. If you upload code, then call E.setBootCode again it'll break the code.
But on the plus side, you should save some memory when using it, as all functions declared in the root scope will then have their code in flash.
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.
If you try the builds from GitHub as of just now, I've enabled the native string copying.
I guess we'll see if anyone complains - the main issue I see is using the new
E.setBootCode
which is theSave on Send
option in the Web IDE. If you upload code, then callE.setBootCode
again it'll break the code.But on the plus side, you should save some memory when using it, as all functions declared in the root scope will then have their code in flash.