before 1v80 in this situation my script provide me about 236 vars as free memory
this is very strange
please, can you provide me more details about your compression mechanism?.
compression of the source code, in a binary blob, is done after calling save() function, right?
after a reboot a function is called to decompress the source code, when the espruino has decompressed the entire source code it keeps in memory the blob?
I'm not able now to perform a complete test but I think is a proportional trend and this solution render useless my effort done to optimize the memory usage on my script
build my own firmware it's a good idea (and my secret target :-) ) but for now I should to find more time for analyze and understand your software
For now our devices are working well with standard firmware, but in the future I'd like to build a version with some functionality to manage regular expression
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.
I have tryed this
http://www.espruino.com/binaries/git/commits/a5688ca49ad5b0512fc513b4a7919b3b627486ec/espruino_1v81.149_espruino_1r3.bin
the software has been flashed without problems or warnings, but during his normal usage (when the script isn't at his maximum load) the free memory returned by process.memor().free is about 160 vars
before 1v80 in this situation my script provide me about 236 vars as free memory
this is very strange
please, can you provide me more details about your compression mechanism?.
compression of the source code, in a binary blob, is done after calling save() function, right?
after a reboot a function is called to decompress the source code, when the espruino has decompressed the entire source code it keeps in memory the blob?
I'm not able now to perform a complete test but I think is a proportional trend and this solution render useless my effort done to optimize the memory usage on my script
build my own firmware it's a good idea (and my secret target :-) ) but for now I should to find more time for analyze and understand your software
For now our devices are working well with standard firmware, but in the future I'd like to build a version with some functionality to manage regular expression