Add inline murmurhash32(uint32) function

Enterprise / PostgreSQL - Andres Freund [anarazel.de] - 22 September 2017 16:38 EDT

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

791961f Add inline murmurhash32(uint32) function.
src/backend/nodes/tidbitmap.c | 20 ++------------------
src/include/utils/hashutils.h | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 18 deletions(-)

Upstream: git.postgresql.org


  • Share