mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
allow 4 free trailing bytes for each value
This commit is contained in:
parent
06278a6758
commit
8c6700720d
2
zipmap.c
2
zipmap.c
@ -92,7 +92,7 @@
|
||||
|
||||
/* The following defines the max value for the <free> field described in the
|
||||
* comments above, that is, the max number of trailing bytes in a value. */
|
||||
#define ZIPMAP_VALUE_MAX_FREE 5
|
||||
#define ZIPMAP_VALUE_MAX_FREE 4
|
||||
|
||||
/* The following macro returns the number of bytes needed to encode the length
|
||||
* for the integer value _l, that is, 1 byte for lengths < ZIPMAP_BIGLEN and
|
||||
|
Loading…
x
Reference in New Issue
Block a user