pgsql: Backport: Add inline murmurhash32(uint32) function. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Backport: Add inline murmurhash32(uint32) function.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Backport: Add inline murmurhash32(uint32) function.

The function already existed in tidbitmap.c but more users requiring
fast hashing of 32bit ints are coming up.

Author: Andres Freund
Discussion:
    https://postgr.es/m/[email protected]
    https://postgr.es/m/[email protected]
Original-Commit: 791961f59b792fbd4f0a992d3ccab47298e79103

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c0fda304df276606e6b3c9ce5c63c187fe775602

Modified Files
--------------
src/backend/nodes/tidbitmap.c | 20 ++------------------
src/include/utils/hashutils.h | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 18 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Improve bit perturbation in TupleHashTableHash.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Clarify pg_upgrade documentation