several typos fixed, optimize MSETNX to avoid unnecessary loop

This commit is contained in:
hujiecs
2018-10-16 15:48:03 +08:00
committed by antirez
parent de8fdaacfc
commit 43ebb7ee01
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@
* container: 2 bits, NONE=1, ZIPLIST=2.
* recompress: 1 bit, bool, true if node is temporarry decompressed for usage.
* attempted_compress: 1 bit, boolean, used for verifying during testing.
* extra: 12 bits, free for future use; pads out the remainder of 32 bits */
* extra: 10 bits, free for future use; pads out the remainder of 32 bits */
typedef struct quicklistNode {
struct quicklistNode *prev;
struct quicklistNode *next;