mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
fix missing comments (#12878)
add a missing comment for `dont_compress` and fix the bits calculation
This commit is contained in:
parent
baf5699d77
commit
27a8e3b04e
@ -42,7 +42,8 @@
|
||||
* container: 2 bits, PLAIN=1 (a single item as char array), PACKED=2 (listpack with multiple items).
|
||||
* recompress: 1 bit, bool, true if node is temporary decompressed for usage.
|
||||
* attempted_compress: 1 bit, boolean, used for verifying during testing.
|
||||
* extra: 10 bits, free for future use; pads out the remainder of 32 bits */
|
||||
* dont_compress: 1 bit, boolean, used for preventing compression of entry.
|
||||
* extra: 9 bits, free for future use; pads out the remainder of 32 bits */
|
||||
typedef struct quicklistNode {
|
||||
struct quicklistNode *prev;
|
||||
struct quicklistNode *next;
|
||||
|
Loading…
Reference in New Issue
Block a user