Backport: Add inline murmurhash32(uint32) function.

Andres Freund <andres@anarazel.de>

Commit: c0fda304df276606e6b3c9ce5c63c187fe775602
Author: Andres Freund <andres@anarazel.de>
Date: 2018-01-29T19:24:57Z
Releases: 10.2
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

Files

PathChange+/−
src/backend/nodes/tidbitmap.c modified +2 −18
src/include/utils/hashutils.h added +27 −0