Personally I think Sacha's method is a little more efficient if you have a lot of data coming in - otherwise it won't matter...
@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.
Personally I think Sacha's method is a little more efficient if you have a lot of data coming in - otherwise it won't matter...