diff options
author | Oran Agra <oran@redislabs.com> | 2022-06-14 21:12:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 21:12:45 +0300 |
commit | 2189100383ca06f8c8f163b340a265d018d9ebe9 (patch) | |
tree | 66222f6fa53851985d342b85411f5fa5a96ce468 /deps/hiredis | |
parent | 8ef4f1dbad3c40dc90920c4aaa8a2f9f72637786 (diff) | |
download | redis-2189100383ca06f8c8f163b340a265d018d9ebe9.tar.gz |
optimize zset conversion on large ZRANGESTORE (#10789)
when we know the size of the zset we're gonna store in advance,
we can check if it's greater than the listpack encoding threshold,
in which case we can create a skiplist from the get go, and avoid
converting the listpack to skiplist later after it was already populated.
Diffstat (limited to 'deps/hiredis')
0 files changed, 0 insertions, 0 deletions