From 5a6e8b1daa259141917ccc83cb3851614efac615 Mon Sep 17 00:00:00 2001 From: Bob Potter Date: Tue, 7 Apr 2009 18:40:33 -0500 Subject: [PATCH] Rearrange redisObject struct to reduce memory usage in 64bit environments (as recommended http://groups.google.com/group/redis-db/msg/68f5a743f8f4e287) --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index 438f5fda..05a623d5 100644 --- a/redis.c +++ b/redis.c @@ -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;