摘要:
计划每天花1小时学习Redis 源码。在博客上做个记录。--------6月18日-----------redis的字典dict主要涉及几个数据结构,dictEntry:具体的k-v链表结点dictht:哈希表dict:字典具体关系为1 typedef struct dict {2 dictType *type;3 void *privdata;4 dictht ht[2];5 int rehashidx; /* rehashing not in progress if rehashidx == -1 */6 int iterators; /* numb... 阅读全文