Rearrange redisObject struct to reduce memory usage in 64bit environments (as recommended http://groups.google.com/group/redis-db/msg/68f5a743f8f4e287)

This commit is contained in:
Bob Potter 2009-04-07 18:40:33 -05:00
parent 27dd15268c
commit 5a6e8b1daa

View File

@ -156,8 +156,8 @@
/* A redis object, that is a type able to hold a string / list / set */
typedef struct redisObject {
int type;
void *ptr;
int type;
int refcount;
} robj;