What do you mean by your earlier comment of running from flash that 'it will be pretty efficient' ?
It'll be efficient with RAM - also it's never loading the string of code to be executed into RAM either.
What are the downsides to running from flash vs loading to RAM ? (Apart from the deletion issue you pointed out)
There really aren't many... If you've turned pretokenisation on then it won't have an effect, but otherwise it's great - it just saves loads of RAM because the contents of every function is executed straight from 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.
It'll be efficient with RAM - also it's never loading the string of code to be executed into RAM either.
There really aren't many... If you've turned pretokenisation on then it won't have an effect, but otherwise it's great - it just saves loads of RAM because the contents of every function is executed straight from flash.