31.12.2016, 10:03
(
Последний раз редактировалось BiosMarcel; 31.12.2016 в 10:40.
)
no but i might do mistakes (often, lol)
But if u say something like that, at least correct me, otherwise its just stupid :P
Good to know, thanks
By the way here i try to prove a part of what i said earlier (which i might fail at, lol):
Appending to Logfiles (1KB logfile vs 95000 KB logfile), appending the word "Test" a thousand times.
i made it a couple of times:
Well, here is some assembly code for ya:
With unused defines:
Without unused defines:
Well, i have to say no more, right?
Too lazy tot try and prove the rest, anyways removing default buildings is totally unneccessary i think, rather optimize the rest
About pawn cmd, since i have already been told the usage of the callbacks make it slow , actually i like those callbacks, sad to hear that, sorry for providing wrong information
But if u say something like that, at least correct me, otherwise its just stupid :P
Quote:
PAWN.CMD is horribly slow if you use the callbacks.
Possible answers: Your script isn't performance friendly. Your host isn't that reliable. Players' internet connection isn't good or their ping is terrible. |
By the way here i try to prove a part of what i said earlier (which i might fail at, lol):
Quote:
appending to big logfiles shouldn't really influence performance |
i made it a couple of times:
PHP код:
Benchmarking
Small file: 3454 ms
Large file: 3719 ms
Benchmarking is done.
PHP код:
Benchmarking
Small file: 4336 ms
Large file: 4430 ms
Benchmarking is done.
PHP код:
Benchmarking
Small file: 5203 ms
Large file: 4854 ms
Benchmarking is done.
PHP код:
Benchmarking
Small file: 4883 ms
Large file: 4994 ms
Benchmarking is done.
PHP код:
Benchmarking
Small file: 5030 ms
Large file: 4990 ms
Benchmarking is done.
Quote:
Unused define don't do shit |
With unused defines:
PHP код:
CODE 0 ; 0
;program exit point
halt 0
proc ; main
; line 6
zero.pri
retn
STKSIZE 1000
PHP код:
CODE 0 ; 0
;program exit point
halt 0
proc ; main
; line 4
zero.pri
retn
STKSIZE 1000
Too lazy tot try and prove the rest, anyways removing default buildings is totally unneccessary i think, rather optimize the rest
About pawn cmd, since i have already been told the usage of the callbacks make it slow , actually i like those callbacks, sad to hear that, sorry for providing wrong information