Add experimental XXH3 hash implementation with SIMD acceleration

Memory write speed using the C memset() function:
  memset   57952

Hash used to check the data blocks integrity:
            best murmur3 spooky2 museair    xxh3   xsse2   xavx2
    hash spooky2    6172   17914   32048   14627   23613   44034
This commit is contained in:
Andrea Mazzoleni 2026-09-30 09:13:57 +02:00
parent f0ae584473
commit cea9015933
17 changed files with 5498 additions and 13 deletions

View file

@ -22,6 +22,7 @@ void test(int advise_mode)
uint32_t put_crc_stored;
crc32c_init();
hash_init();
s = sopen_multi_write(STREAM_MAX, advise_mode | STREAM_FLAGS_CRC);
for (i = 0; i < STREAM_MAX; ++i) {