redis基础数据结构-zipmap简介
数据结构 -------------------------------------------------------------------------------------------------------------------------------------------------- cnt |key1.len|key1.context|val1.len|free1.len|val1.context|null1.context|key2.len|key2.context|val2.len|free2.len|val2.context|null2.context|0xFF| -------------------------------------------------------------------------------------------------------------------------------------------------- cnt:一个字节,如果<ZIPMAP_BIGLEN(254),则是key-val对的数量,否则==ZIPMAP_BIG