allow 4 free trailing bytes for each value

This commit is contained in:
Pieter Noordhuis 2010-04-01 13:15:32 +02:00
parent 06278a6758
commit 8c6700720d

View File

@ -92,7 +92,7 @@
/* The following defines the max value for the <free> field described in the /* 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. */ * 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 /* 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 * for the integer value _l, that is, 1 byte for lengths < ZIPMAP_BIGLEN and