mirror of
https://github.com/fluencelabs/redis
synced 2025-04-02 07:41:04 +00:00
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:
parent
27dd15268c
commit
5a6e8b1daa
2
redis.c
2
redis.c
@ -156,8 +156,8 @@
|
|||||||
|
|
||||||
/* A redis object, that is a type able to hold a string / list / set */
|
/* A redis object, that is a type able to hold a string / list / set */
|
||||||
typedef struct redisObject {
|
typedef struct redisObject {
|
||||||
int type;
|
|
||||||
void *ptr;
|
void *ptr;
|
||||||
|
int type;
|
||||||
int refcount;
|
int refcount;
|
||||||
} robj;
|
} robj;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user