Turbo mode or https://turbowarp.org/852599589 https://stackoverflow.com/questions/3506404/fast-hypotenuse-algorithm-for-embedded-processor If the green line is over the orange line you are getting a performance gain. this works very well on turbo warp, but seems inconsistent on scratch.