Yes, the Layout code ends up compacted, and when I'm happy it's stabilised I'll start building it into the Bangle (improving performance) and may even convert it to native code in which case it'll likely be faster than direct graphics calls.
However, until that point direct Graphics calls will always be faster if you're willing to spend time ensuring you only draw what's needed - in your case, making sure you only update the digits and nothing else.
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.
Hi,
Yes, the Layout code ends up compacted, and when I'm happy it's stabilised I'll start building it into the Bangle (improving performance) and may even convert it to native code in which case it'll likely be faster than direct graphics calls.
However, until that point direct Graphics calls will always be faster if you're willing to spend time ensuring you only draw what's needed - in your case, making sure you only update the digits and nothing else.