There is E.getSizeOf() that gives the size of a given thing (object, function, etc). Maybe start with a really small maze and print process.memory().free at the startup, so you have an idea of how many memory you have.
You can try Settings -> Communication -> Modules uploaded as functions. and Settings -> Minification -> Pretokenise code.
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.
There is
E.getSizeOf()
that gives the size of a given thing (object, function, etc). Maybe start with a really small maze and printprocess.memory().free
at the startup, so you have an idea of how many memory you have.You can try Settings -> Communication -> Modules uploaded as functions. and Settings -> Minification -> Pretokenise code.