Open GoogleCodeExporter opened 8 years ago
Thanks! This can also be extended to the ziplist code because that supports
backwards iteration as well. There have been ideas going back and forth about
using a super-thin skiplist for this same reason as well. That would be more
efficient in jumping through a list in general, as opposed to more efficient
for tail elements.
Original comment by pcnoordh...@gmail.com
on 30 Aug 2011 at 3:51
Thank you Didier, this makes a lot of sense and I actually believed that this
was already the case...
Merging this today hopefully, giving credits in the commit message.
Salvatore
Original comment by anti...@gmail.com
on 14 Sep 2011 at 12:48
Patch applied to 2.2, 2.4 and unstable, thanks.
Pieter: surely that can be used for ziplists as well, even if it is less severe
as ziplists are shorts by design. Let's take this open until we fix that on
ziplists as well? I would make the fix for the ziplist only for unstable
however as it is more complex in nature.
For now marking the issue as "work started".
Thanks!
Original comment by anti...@gmail.com
on 14 Sep 2011 at 1:19
Original issue reported on code.google.com by
didier...@gmail.com
on 29 Aug 2011 at 8:34