Which is faster ?
#1

pawn Код:
new Float:a = 10.5;
new Float:b =  9.4;
This:
pawn Код:
new Float:OPDif = a - b;
Or this:
pawn Код:
new Float:FSub = floatsub(a, b);
Reply
#2

Same.
Reply
#3

Yup same. xD
Reply
#4

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Same.
Not sure if you're right with that, seeing as operators tend to beat the speed order in comparison to native functions.
Reply
#5

Lol, i know they are same, but one of this must be faster ( in nanoseconds ^^ )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)