Applied a few modifications to hiredis to tune it for speed (redis-benchmark) and ability to read more deeply nested replies (redis-cli).

This commit is contained in:
antirez 2012-02-19 20:33:59 +01:00
parent 6887744245
commit 11f0a23caf

View File

@ -123,7 +123,7 @@ typedef struct redisReader {
size_t pos; /* Buffer cursor */
size_t len; /* Buffer length */
redisReadTask rstack[4];
redisReadTask rstack[9];
int ridx; /* Index of current read task */
void *reply; /* Temporary reply pointer */