mirror of
https://github.com/fluencelabs/redis
synced 2025-06-26 23:41:33 +00:00
Optimization fixed and re-activated
This commit is contained in:
4
redis.c
4
redis.c
@ -1005,11 +1005,9 @@ static int dictEncObjKeyCompare(void *privdata, const void *key1,
|
||||
robj *o1 = (robj*) key1, *o2 = (robj*) key2;
|
||||
int cmp;
|
||||
|
||||
#if 0
|
||||
if (o1->encoding == REDIS_ENCODING_INT &&
|
||||
o2->encoding == REDIS_ENCODING_INT &&
|
||||
o1->ptr == o2->ptr) return 0;
|
||||
#endif
|
||||
o1->ptr == o2->ptr) return 1;
|
||||
|
||||
o1 = getDecodedObject(o1);
|
||||
o2 = getDecodedObject(o2);
|
||||
|
Reference in New Issue
Block a user