@sebafudi, since you just shift the pattern through the string, did you consider to just chop off the the falling off tuple(s) and calculate and append only the new ones?
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.
@sebafudi, since you just shift the pattern through the string, did you consider to just chop off the the falling off tuple(s) and calculate and append only the new ones?