try to parse the request in a smarter way to gain speed... work in progress

This commit is contained in:
antirez
2010-09-17 15:25:32 +02:00
parent 2b00385d51
commit 34a719d250
2 changed files with 12 additions and 2 deletions

View File

@ -286,6 +286,7 @@ typedef struct redisClient {
int dictid;
sds querybuf;
robj **argv, **mbargv;
char *newline; /* pointing to the detected newline in querybuf */
int argc, mbargc;
long bulklen; /* bulk read len. -1 if not in bulk read mode */
int multibulk; /* multi bulk command format active */