• antirez's avatar
    Use endian neutral hash function for HyperLogLog. · aaf6db45
    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.
    aaf6db45
hyperloglog.c 19.2 KB