Re: fasthash32() returning uint64? - Mailing list pgsql-hackers

From John Naylor
Subject Re: fasthash32() returning uint64?
Date
Msg-id CANWCAZbrMfHgDKQdxs-LFn4U3oWkpQbMBPZO-unZedwtWjWrHQ@mail.gmail.com
Whole thread Raw
In response to fasthash32() returning uint64?  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On Sat, Apr 6, 2024 at 3:47 AM Jeff Davis <pgsql@j-davis.com> wrote:
> In hashfn_unstable.h, fasthash32() is declared as:
>
>   /* like fasthash64, but returns a 32-bit hashcode */
>   static inline uint64
>   fasthash32(const char *k, size_t len, uint64 seed)
>
> Is the return type of uint64 a typo?

Yes it is, will fix, thanks!



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Allow non-superuser to cancel superuser tasks.
Next
From: Nathan Bossart
Date:
Subject: Re: Popcount optimization using AVX512