24.12.2013, 20:27
A friend of mine did a speed test with static and new. (I translate it in order that they could understand it):
I add it for the one that should want to extract the doubts
.
Quote:
Originally Posted by JustBored
Excuse the idea of re-living through the post, but eh condition doing a few tests of speed, and I realized that using global variables (static) then to be using it in the script, it is more rapid than them to be creating again and again.
For example, it is better to do this: pawn Code:
pawn Code:
Code:
[00:45:24] Static: 30 miliseconds [00:45:24] New: 65 miliseconds [00:45:24] New global: 34 miliseconds pawn Code:
|
