Micropython is faster than MMBasic :-(


Author Message
scruss
Senior Member

Joined: 20/09/2021
Location: Canada
Posts: 116
Posted: 01:30pm 25 Jul 2026      

MicroPython has a perfectly good math.atan2(), which will be faster than a hand-rolled equivalent.

MicroPython's complete lack of a useful sgn() function, however, is a pain.

I wonder how much faster it would be compiled with single-precision floating point. That's the norm for MicroPython