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 E1egF44-0004rz-Bu@gemulon.postgresql.org
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/20170914061207.zxotvyopetm7lrrp@alap3.anarazel.de
    https://postgr.es/m/15ae5ae2-bc74-ebef-f9d6-34b16423cc04@blackducksoftware.com
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