[Vote]STRCMP or ZCMD?
#10

You should learn why you should use different methods - as opposed to being told simply not to use a method.

strcmp is a basic function which compares two strings; it's used in older scripts to retrieve parameters from commands and is usually combined with strtok, another extremely inefficient splitting routine. The main problem is that it's slower in comparison to the methods zcmd and y_commands use.

dcmd is not all that great either - looking at the macro it even uses strcmp directly in the macro.

y_commands and zcmd both use a method of converting your commands in to functions and every time someone sends a command through the server it executes the function - it is typically much faster to use, y_commands is apparently faster but I've never looked in to it as I've only used zcmd since its release.

Quote:
Originally Posted by milanosie
Посмотреть сообщение
strcmp>>dcmd>>YCMD/ZCMD
Quote:
Originally Posted by aRoach
Посмотреть сообщение
Nope, Y_CMD is the Fastest !


Maybe:
Код:
DCMD > ZCMD > YCMD
Because STRCMP is only for Strings..

BTW, I recommand you ZCMD or YCMD, you choose...
Both of you should know how to use the 'more than' and 'less than' operators if you script in this language, it is basic maths and is quite frankly one of the most important things you should know in this language. You have your statement in the wrong order.
Reply


Messages In This Thread
[Vote]STRCMP or ZCMD? - by Guitar - 19.02.2012, 15:58
Re: [Vote]STRCMP or ZCMD? - by Twisted_Insane - 19.02.2012, 15:59
Re: [Vote]STRCMP or ZCMD? - by milanosie - 19.02.2012, 16:01
Re: [Vote]STRCMP or ZCMD? - by Guitar - 19.02.2012, 16:01
Re: [Vote]STRCMP or ZCMD? - by emokidx - 19.02.2012, 16:02
Re: [Vote]STRCMP or ZCMD? - by milanosie - 19.02.2012, 16:03
Re: [Vote]STRCMP or ZCMD? - by Not Applicable - 19.02.2012, 16:05
Re: [Vote]STRCMP or ZCMD? - by aRoach - 19.02.2012, 16:10
Re: [Vote]STRCMP or ZCMD? - by Madd Kat - 19.02.2012, 16:20
Re: [Vote]STRCMP or ZCMD? - by Calgon - 19.02.2012, 16:32

Forum Jump:


Users browsing this thread: 1 Guest(s)