06-24-2023, 07:47 PM
I've generally found _HYPOT to be the fastest performer too. It's also easily extended to 3D.
distance! = _HYPOT( _HYPOT( x, y), z)
distance! = _HYPOT( _HYPOT( x, y), z)
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
sha_na_na_na_na_na_na_na_na_na: