• antirez's avatar
    Fix PFADD infinite loop. · faa7f259
    antirez authored
    We need to guarantee that the last bit is 1, otherwise an element may
    hash to just zeroes with probability 1/(2^64) and trigger an infinite
    loop.
    
    See issue #1657.
    faa7f259
hyperloglog.c 27.3 KB