diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-08-25 01:01:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 01:01:17 +0300 |
commit | c98326dc5bc53835a10f4875ae1c20becdc591e6 (patch) | |
tree | 6bb67cf212587f50c4328e488751b1bdedd98254 /libnetdata | |
parent | 486ff94bd306ef1e88c17227c5dabbabba62f692 (diff) |
use the newer XXH3 128bits algorithm, instead of the classic XXH128 (#15878)
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/facets/facets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/facets/facets.c b/libnetdata/facets/facets.c index f3e9360138..eb20bf25d9 100644 --- a/libnetdata/facets/facets.c +++ b/libnetdata/facets/facets.c @@ -17,7 +17,7 @@ static inline void uint64_to_char(uint64_t num, char *out) { } inline void facets_string_hash(const char *src, size_t len, char *out) { - XXH128_hash_t hash = XXH128(src, len, 0); + XXH128_hash_t hash = XXH3_128bits(src, len); uint64_to_char(hash.high64, out); uint64_to_char(hash.low64, &out[11]); // Starts right after the first 64-bit encoded string |