SA-MP Forums Archive
Callback - 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)
+--- Thread: Callback (/showthread.php?tid=639545)

Pages: 1 2


Re: Callback - Dayrion - 20.08.2017

Alright lol, my bad


Re: Callback - GoldenLion - 20.08.2017

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
PVars are slow.
They may be slower than normal variables, but the difference of speed between them is in nanoseconds, you can't even notice that. You can only notice some difference if you use them like 100k times at once. There's nothing bad in using them.


Re: Callback - TheCman - 20.08.2017

Thanks - that was exactly my point. The only real overhead is the function call in the pawn VM, the rest is actually the SAME THING - accessing an array index in C, which is almost free.