From: Pieter Noordhuis Date: Thu, 1 Apr 2010 11:15:32 +0000 (+0200) Subject: allow 4 free trailing bytes for each value X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/8c6700720d7794bf9d526b6e2adbf73cc12207f0?ds=sidebyside;hp=--cc allow 4 free trailing bytes for each value --- 8c6700720d7794bf9d526b6e2adbf73cc12207f0 diff --git a/zipmap.c b/zipmap.c index 8a07b388..5215954a 100644 --- a/zipmap.c +++ b/zipmap.c @@ -92,7 +92,7 @@ /* The following defines the max value for the 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