@azrobbo thanks for your help! you were spot on about it being nothing to do with the GPS or Serial. It's String.indexOf.
I took your code, ran it 10 times, and measured process.memory before and after, then I just started removing stuff. I finally got down to "".indexOf("."). I'll put a fix in for it now...
The new version of Espruino's got some pretty big changes, so it might be a while before I release it, just to make sure it's ok.
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.
@azrobbo thanks for your help! you were spot on about it being nothing to do with the GPS or Serial. It's
String.indexOf
.I took your code, ran it 10 times, and measured
process.memory
before and after, then I just started removing stuff. I finally got down to"".indexOf(".")
. I'll put a fix in for it now...The new version of Espruino's got some pretty big changes, so it might be a while before I release it, just to make sure it's ok.