]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 02/12] lib: Replace str_hash/strcase_hash with xxh64
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 13 Apr 2026 10:33:51 +0000 (12:33 +0200)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commit2e043f4916529efa76b70e39f8cb678779fd8c08
tree7c34864bacd019149515d78ecd0be39d04809014
parent664ad68703a63118533d1e4150b15bf57d709f8b
[PATCH 02/12] lib: Replace str_hash/strcase_hash with xxh64

Replaces the old ASU-derived shift-and-XOR hash with xxh64_to_32(),
which provides better distribution and avalanche properties.
strcase_hash feeds each i_toupper()'d byte through the streaming API.

Gbp-Pq: Name 0002-lib-Replace-str_hash-strcase_hash-with-xxh64.patch
src/lib/hash.c