From: antirez Date: Tue, 24 Apr 2012 10:51:59 +0000 (+0200) Subject: ziplist.c: added comments about the new 24 bit encoding. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/f22cff43a60010644907e750fb3be5e49b9f8698?ds=sidebyside ziplist.c: added comments about the new 24 bit encoding. --- diff --git a/src/ziplist.c b/src/ziplist.c index a2c0edb3..81eec18a 100644 --- a/src/ziplist.c +++ b/src/ziplist.c @@ -58,6 +58,10 @@ * Integer encoded as int32_t (4 bytes). * |1110____| - 1 byte * Integer encoded as int64_t (8 bytes). + * |1111____| - 1 byte + * Integer encoded as 24 bit signed (3 bytes). + * + * All the integers are represented in little endian byte order. */ #include