We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redis 中的key和value都是redisObject ,但是通过key是如何找到value的呢? typedef struct redisObject { unsigned type:4; unsigned encoding:4; unsigned lru:LRU_BITS; /* lru time (relative to server.lruclock) */ int refcount; void *ptr; } robj; 这个结构中的 ptr 指向的应该是存储的实际值吧,但是key 是如何指向value的呢?
The text was updated successfully, but these errors were encountered:
hope this can help u
Sorry, something went wrong.
No branches or pull requests
redis 中的key和value都是redisObject ,但是通过key是如何找到value的呢?
typedef struct redisObject {
unsigned type:4;
unsigned encoding:4;
unsigned lru:LRU_BITS; /* lru time (relative to server.lruclock) */
int refcount;
void *ptr;
} robj;
这个结构中的 ptr 指向的应该是存储的实际值吧,但是key 是如何指向value的呢?
The text was updated successfully, but these errors were encountered: