Which is faster ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Which is faster ? (
/showthread.php?tid=204848)
Which is faster ? -
MJ! - 30.12.2010
pawn Код:
new Float:a = 10.5;
new Float:b = 9.4;
This:
Or this:
pawn Код:
new Float:FSub = floatsub(a, b);
Re: Which is faster ? -
MadeMan - 30.12.2010
Same.
Re: Which is faster ? -
HyperZ - 30.12.2010
Yup same. xD
Re: Which is faster ? -
Calgon - 30.12.2010
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.
Re: Which is faster ? -
MJ! - 30.12.2010
Lol, i know they are same, but one of this must be faster ( in nanoseconds ^^ )