24.02.2017, 21:46
Quote:
PHP код:
Код:
[22:47:50] 1 (with 3rd variable): 1398 ms [22:47:51] 2 (without): 1049 ms |
Also you could get faster with putting everything in one line ("c = a, a = b, b = c;") (if compiled with debug information -d1,2,3 (deafult is -d1))
Even if I switch the arithmetic with bitwise operations (which should be faster, "a = b | (b = a) & 0;") is not enough to beat it
Anyways use emit if you want to be the fastest within pawn