Backport: Add inline murmurhash32(uint32) function.
Andres Freund <andres@anarazel.de>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/tidbitmap.c | modified | +2 −18 |
| src/include/utils/hashutils.h | added | +27 −0 |