• antirez's avatar
    Use endian neutral hash function for HyperLogLog. · 1c795db9
    antirez authored
    We need to be sure that you can save a dataset in a Redis instance,
    reload it in a different architecture, and continue to count in the same
    HyperLogLog structure.
    
    So 32 and 64 bit, little or bit endian, must all guarantee to output the
    same hash for the same element.
    1c795db9
hyperloglog.c 19.2 KB