25.03.2016, 09:50
Quote:
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. |
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.