What the faster ? ZCMD or Normal Command
#1

What the faster ?

Sorry for my bad english.
Reply
#2

ZCMD. AND sscanf
Reply
#3

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
ZCMD. AND sscanf
Simple ZCMD command ( without sscanf ) faster at normal command ? XD
Reply
#4

Yeah. strtok is really slow, I recently switched over to dcmd.

All I can say is that dcmd is faster then strcmp, and I've heard that zcmd is faster then dcmd.
Reply
#5

zcmd enough said.
Reply
#6

strtok is slower but still it rocks!
Reply
#7

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
strtok is slower but still it rocks!
Agreed with that, it's great to have your commands just under 1 callback ^^
Reply
#8

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Agreed with that, it's great to have your commands just under 1 callback ^^
It's great to have commands in separate file or even in more files, categorized by usage than in one callback which is a few thousand lines long and all messed up.

"Normal command" means nothing, for me normal command processor is zcmd, so at least state that you mean strcmp with that.

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
strtok is slower but still it rocks!
If you never used sscanf then you can say that yes.
Reply
#9

Strcmp inside OnPlayerCommandText is faster
Reply
#10

Quote:
Originally Posted by dice7
Посмотреть сообщение
Strcmp inside OnPlayerCommandText is faster
You're wrong.

http://forum.sa-mp.com/showpost.php?...1&postcount=66
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)