]> git.saurik.com Git - redis.git/commitdiff
Compare integers in ziplist regardless of encoding
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Sat, 5 May 2012 00:26:24 +0000 (17:26 -0700)
committerantirez <antirez@gmail.com>
Sun, 6 May 2012 08:06:21 +0000 (10:06 +0200)
Because of the introduction of new integer encoding types for ziplists
in the 2.6 tree, the same integer value may have a different encoding in
different versions of the ziplist implementation. This means that the
encoding can NOT be used as a fast path in comparing integers.


No differences found