三.redis 排序??FAQ:1.sort ml by name* get name* get # 为什么会按照shi lala nihao wo的顺序排下来,这
三.redis 排序
三.redis 排序
if (alpha) {if (sortby) vector[j].u.cmpobj = getDecodedObject(byval);} else {if (byval->encoding == REDIS_ENCODING_RAW) { vector[j].u.score = strtod(byval->ptr,NULL);} else if (byval->encoding == REDIS_ENCODING_INT) { /* Don't need to decode the object if it's * integer-encoded (the only encoding supported) so * far. We can just cast it */ vector[j].u.score = (long)byval->ptr;} else { redisAssert(1 != 1); } }