• antirez's avatar
    Added two new encodings to ziplist.c · a76b9063
    antirez authored
    1) One integer "immediate" encoding that can encode from 0 to 12 in the
    encoding byte itself.
    2) One 8 bit signed integer encoding that can encode 8 bit signed small
    integers in a single byte.
    
    The idea is to exploit all the not used bits we have around in a
    backward compatible way.
    a76b9063
ziplist.c 48.5 KB