• antirez's avatar
    MEMORY USAGE: SAMPLES option added + fixes to size computation. · 5443726d
    antirez authored
    The new SAMPLES option is added, defaulting to 5, and with 0 being a
    special value to scan the whole set of elements.
    
    Fixes to the object size computation were made since the original PR
    assumed data structures still contaning robj structures, while now after
    the lazyfree changes, are all SDS strings.
    5443726d
object.c 33.1 KB