Not sure if it's worth it, but the app loader tried minifying all code a while ago. Back then it broke apps, because Espruino didn't support let/const scopes, so variable mangling ended up with duplicates.
But now that scopes are properly supported, maybe it could be turned back on?
I know the code is already pretokenized, but at least variable mangling might speed things up a bit? (and maybe the minifier knows some other tricks)
© Espruino, powered by microcosm.
Report a problem