Was there ever a thought to have something (changed) in the source that updates when the variable has been looked up?
You mean to replace the variable name with something else like a token saying 'argument1' (for instance)?
I had wondered about that, but actually part of me was thinking I could just have a cache for single-character variable names like a...z. Then minified code which uses those pretty much all the time would benefit greatly.
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.
You mean to replace the variable name with something else like a token saying 'argument1' (for instance)?
I had wondered about that, but actually part of me was thinking I could just have a cache for single-character variable names like
a
...z
. Then minified code which uses those pretty much all the time would benefit greatly.