Floats - Do you use the natives for calculating or the operators?
#3

Quote:
Originally Posted by X337
View Post
I think there's no difference between them. Because afaik float operators are using that native functions too.

Code:
native Float:operator+(Float:oper1, Float:oper2) = floatadd;
I have done some benchmarking and there definitly was a difference

The natives were 18-20% faster.

EDIT:

Not quite right: http://forum.sa-mp.com/showpost.php?...16&postcount=5
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)