I'll probably make a setting for choosing to run from Flash or loading it into RAM then
In the app? I'm not sure that's a good idea...
Best bet is figure out which function(s) are the ones that are running often and so are slowing things down, and tag just those functions with the "ram" keyword. That way you get the best of both worlds.
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.
In the app? I'm not sure that's a good idea...
Best bet is figure out which function(s) are the ones that are running often and so are slowing things down, and tag just those functions with the
"ram"
keyword. That way you get the best of both worlds.