Argh - thanks for checking into this!
It was because my 'fast path' for execution wasn't checking when it should stop correctly.
If you pull now and try, it should at least call iteration the correct number of times.
And on the plus side if it's 18ms while doing 8x as much work as is needed, it should be substantially faster now!
@Gordon started
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.
Argh - thanks for checking into this!
It was because my 'fast path' for execution wasn't checking when it should stop correctly.
If you pull now and try, it should at least call iteration the correct number of times.
And on the plus side if it's 18ms while doing 8x as much work as is needed, it should be substantially faster now!