Is there an estimated file size limit of all modules loaded into memory or a maximum amount of modules that will be interpreted in any single application? Considering that each variable takes a certain amount of memory, certain modules may do more computation that actually defining variables/functions to consume that memory and can be garbage collected clearing the memory. In other words, is there a way to calculate the lowest required memory overhead to just load and interpret a module, granted that module is minimized and minified as much as possible and all other performance best practices have been utilized?
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.
Is there an estimated file size limit of all modules loaded into memory or a maximum amount of modules that will be interpreted in any single application? Considering that each variable takes a certain amount of memory, certain modules may do more computation that actually defining variables/functions to consume that memory and can be garbage collected clearing the memory. In other words, is there a way to calculate the lowest required memory overhead to just load and interpret a module, granted that module is minimized and minified as much as possible and all other performance best practices have been utilized?