• Oran Agra's avatar
    optimize zset conversion on large ZRANGESTORE (#10789) · 21891003
    Oran Agra authored
    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.
    21891003
t_zset.c 145 KB