Optimize LRANGE to scan the list starting from the head or the tail in order...
Optimize LRANGE to scan the list starting from the head or the tail in order to traverse the minimal number of elements. Thanks to Didier Spezia for noticing the problem and providing a patch.
Please register or sign in to comment