Redis sdshdr字符串结构优点 08月01日 redis Redis sdshdr字符串结构优点已关闭评论 redis Redis里面使用sdshdr结构体来保存字符串,结构体结构如下:struct sdshdr{ int len;//已使用保存的字符串长度 int free;//未使用字符串长度 ...