Just to let you know: binding Math.round to a variable rounded and calling rounded(...) rather than Math.round speeds my code up by approx. 100/1500 = approx. 7%! Additionally binding Math.max to max gave me a total of roughly 10% speedup(!)
© Espruino, powered by microcosm.
Report a problem