]> git.saurik.com Git - redis.git/commit
Optimize LRANGE to scan the list starting from the head or the tail in order to trave...
authorantirez <antirez@gmail.com>
Wed, 14 Sep 2011 13:10:28 +0000 (15:10 +0200)
committerantirez <antirez@gmail.com>
Wed, 14 Sep 2011 13:10:28 +0000 (15:10 +0200)
commit7cfeb8cccf945e5de7210d8bd5a398acfd0959d8
treee936cd3c19ff83cca6a6252aa6ec2266fbee051e
parent6468a6faad92e087d5054b60b86bf33d718e86ba
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.
src/t_list.c