Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[ZREVRANGEBYSCORE] When the offset is too large, the query is very slow. #5767
ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
This is the expected behavior, see the docs for
The edge case, where the offset exceeds the length of the zset, could perhaps be optimized to break early, although it will have little impact overall.