You should be able to do git checkout origin/small_jsvar in the existing repository (after git pull).
Doing it that way won't let you commit any changes, but otherwise it'll be fine.
3250 vars would be pretty good :) The only bad point is that there's still the same fixed overhead of 4 bytes for long strings, so for big chunks of data it's only 12/16=75% efficient rather than 16/20=80%. The extra vars make up for it though :)
I guess even the value packing should help you out too - I'd be interested to see how many variables it uses in the new build relative to the old.
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 should be able to do
git checkout origin/small_jsvar
in the existing repository (aftergit pull
).Doing it that way won't let you commit any changes, but otherwise it'll be fine.
3250 vars would be pretty good :) The only bad point is that there's still the same fixed overhead of 4 bytes for long strings, so for big chunks of data it's only 12/16=75% efficient rather than 16/20=80%. The extra vars make up for it though :)
I guess even the value packing should help you out too - I'd be interested to see how many variables it uses in the new build relative to the old.