[Include] [I-ZCMD]Improved ZCMD - Fastest Command Processor
#28

Quote:
Originally Posted by Kar
Посмотреть сообщение
I know your include is all about performance but.. Wow.

Your still attempting to call CallLocalFunction which is a intensive function right? So your code would be slower if only long commands are used. (I know its rare but it happens). Because calllocalfunction will have to search through the object code and search every public function in pawn and end when none is found.
Yea, CLF is slow but who cares about the CPU wasted because of executing CLF once in 100000 trials? In fact, CLF will waste CPU every time an invalid command is sent and someone making a typo while typing a command is more probable. So trying to add a check to prevent bad CLF calls which are caused by lengthy commands after compromising the overall performance of the include is actually meaningless.

Moreover, CallLocalFunction is slow but much faster compared to the PAWN code since its execute directly in the server whereas the PAWN code is executed inside the AMX machine which in turn is executed in the server hardware.

If you are interested, here is how CLF works: Click Me

By the way I feel guilty for fooling people by claiming that IZCMD is so fast that it will boost the server performance. The reality is that the optimizations that I made in IZCMD is negligible compared to a server's overall performance even though IZCMD could be 2x,3x or 5x faster than other processors. Anyway its still a 2015 update for the outdated 2009 ZCMD and its always advisable to use updated includes.
Reply


Messages In This Thread
[I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 01.06.2015, 07:02
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by SickAttack - 01.06.2015, 07:19
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Manyula - 01.06.2015, 09:18
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by HydraHumza - 01.06.2015, 09:36
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by SickAttack - 01.06.2015, 14:51
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by PT - 01.06.2015, 17:26
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Pottus - 01.06.2015, 18:06
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by hamzajaved780 - 01.06.2015, 18:37
AW: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Mellnik - 01.06.2015, 19:05
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Pottus - 01.06.2015, 19:39
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by PeterJane - 06.06.2015, 11:01
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by admantis - 06.06.2015, 18:12
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Ritzy2K - 06.06.2015, 18:34
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 07.06.2015, 02:46
Respuesta: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Zume - 07.06.2015, 22:01
Re: Respuesta: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by SickAttack - 07.06.2015, 22:10
Re: Respuesta: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 08.06.2015, 15:10
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Pottus - 14.06.2015, 04:15
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by n0minal - 14.06.2015, 04:55
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 14.06.2015, 05:47
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by DRIFT_HUNTER - 14.06.2015, 05:54
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by WLSF - 14.06.2015, 10:17
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by RaeF - 14.06.2015, 10:31
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 14.06.2015, 15:06
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Crayder - 25.03.2016, 07:32
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 25.03.2016, 09:22
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Kar - 25.03.2016, 09:35
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 25.03.2016, 09:50
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Zorono - 16.06.2016, 19:52
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 06.07.2016, 13:42
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Untonyst - 14.07.2016, 07:54
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 15.07.2016, 13:36
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Arithmetic - 15.07.2016, 18:13
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 15.07.2016, 18:20
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 01.08.2016, 14:37
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Gammix - 01.08.2016, 15:35
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yashas - 02.08.2016, 07:20
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Romz - 19.10.2016, 20:18
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Yousha - 19.10.2016, 20:31
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Crayder - 20.10.2016, 04:15
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Command - 30.04.2017, 16:19
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by AbyssMorgan - 30.04.2017, 16:23
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Command - 30.04.2017, 16:49
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by feheristi97 - 23.07.2017, 16:23
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by Deken - 28.12.2018, 19:01
Re: [I-ZCMD]Improved ZCMD - Fastest Command Processor - by cuber - 28.12.2018, 20:12

Forum Jump:


Users browsing this thread: 1 Guest(s)