pgsql: Revert "Speed up tail processing when hashing aligned C strings,

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "Speed up tail processing when hashing aligned C strings,
Date: 2025-01-29 06:58:22
Message-ID: E1td21m-004A7s-5R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)melnikov(at)postgrespro(dot)ru>
Discussion: https://postgr.es/m/a3a959f6-14b8-4819-ac04-eaf2aa2e868d@postgrespro.ru
Backpatch-through: 17

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/235328ee4ae49cd5abf3c1c9b81f3b809507e5f2

Modified Files
--------------
src/include/common/hashfn_unstable.h | 46 ++++++++----------------------------
1 file changed, 10 insertions(+), 36 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2025-01-29 06:58:29 pgsql: Revert "Speed up tail processing when hashing aligned C strings,
Previous Message Michael Paquier 2025-01-28 23:50:01 pgsql: Improve test coverage of network address functions