Thanks a lot, that was fast! With the cutting edge build a Float32Array sorts correctly about six times faster than with a comparison function. And just as fast as an Int16Array, so I can use full accelerometer precision.
I'd completely forgotten about the inline C option, I'll try that next if I still need more speed.
© Espruino, powered by microcosm.
Report a problem