Redis設實 - 07 對象 上

《Redis設計與實現 黃建宏 著》第8章 該書基於Redis2.9,即Redis3.0開發版編寫 Redis對象數據結構 typedef struct redisObject{ // 類型 unsigned type:4; // 編碼 unsigned encoding:4; // 指向底層實現數據結構的指針 void *ptr; // 引用計數 int refcount; // 最後一次被命令
相關文章
相關標籤/搜索