随笔分类 -  Redis

redis
Redis对象属性详解
摘要:Redis的对象结构如下: 1 typedef struct redisObject{ 2 3 //类型 4 unsigned type:4; 5 6 //编码 7 unsigned encoding:4; 8 9 //指向底层数据的指针 10 void *ptr; 11 12 //对象引用计数 1 阅读全文

posted @ 2022-06-29 14:49 AoTuDeMan 阅读(272) 评论(0) 推荐(0)

导航