In Debug yes, then Beakers is faster. In release yours is faster.
' 10000000 calls each
Time Fetze: 267
Time Beaker: 1190
But the main reason here is that yours is Int only. If you use the Distance Approx that base on Float with their bitshift approximations, they will be slower than simply using SQR.
' 10000000 calls each
Time Fetze: 267
Time Beaker: 1190
But the main reason here is that yours is Int only. If you use the Distance Approx that base on Float with their bitshift approximations, they will be slower than simply using SQR.