On Sat, Jun 15, 2024 at 6:46 AM Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> Attached is a patch to use simplehash.h instead, which speeds things up
> enough to make them fairly close (from around 15% slower to around 8%).
+#define SH_HASH_KEY(tb, key) hash_uint32((uint32) key)
For a static inline hash for speed reasons, we can use murmurhash32
here, which is also inline.