redis源碼分析(4)-- 基本數據結構字典dict

一、字典結構 Redis中字典採用hash表結構,如下: typedef struct dictht { dictEntry **table; // hash表數組 unsigned long size; // hash表大小 unsigned long sizemask; // 掩碼 unsigned long used; // 已經使用的大小 } dictht;
相關文章
相關標籤/搜索