Redis

95 阅读1分钟

SDS 简单动态字符串

节约内存

字典结构 dict

哈希表 dictht ht[2] 为什么需要两个,因为 rehash

Redis 内存回收

基于引用计数法