12.09.2010, 15:34
Let me just show you one thing..
X = 3, Y = 4
X = 3, Y = 4
These are two completely different codes. You can't compare speed with that.
pawn Code:
if(X*Y<0)
pawn Code:
if(3*4<0)
if(12<0) //is the outcome. This will return false.
pawn Code:
if(X>0 && Y>0)
else if(X<0 && Y<0)
pawn Code:
if(3>0 && 4>0) //will return true
else if(3<0 && 4<0) //will return false