Revert "Speed up tail processing when hashing aligned C strings, take two"
authorJohn Naylor <john.naylor@postgresql.org>
Wed, 29 Jan 2025 06:35:43 +0000 (13:35 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Wed, 29 Jan 2025 06:35:43 +0000 (13:35 +0700)
commit235328ee4ae49cd5abf3c1c9b81f3b809507e5f2
tree961005100f1a3fc894105269211a3ef73d507e67
parent4f071349c0c28543fa8b84a5ce0b2f619c089ace
Revert "Speed up tail processing when hashing aligned C strings, take two"

This reverts commit a365d9e2e8c1ead27203a4431211098292777d3b.

Older versions of Valgrind raise an error, so go back to the bytewise
loop for the final word in the input.

Reported-by: Anton A. Melnikov <a.melnikov@postgrespro.ru>
Discussion: https://postgr.es/m/a3a959f6-14b8-4819-ac04-eaf2aa2e868d@postgrespro.ru
Backpatch-through: 17
src/include/common/hashfn_unstable.h