Testing Speed...

BlitzMax Forums/BlitzMax Beginners Area/Testing Speed...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ah, ok. In that case quick question: Which is faster?

x1=32000
x2=32000
y1=32000
y2=32000

d=Sqr((x2-x1)^2+(y2-y1)^2)

Return d/32

OR

x1=32000/32
x2=32000/32
y1=32000/32
y2=32000/32

d=Sqr((x2-x1)^2+(y2-y1)^2)

Return d