Re: fasthash32() returning uint64?

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: John Naylor <john(dot)naylor(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: fasthash32() returning uint64?
Date: 2024-04-06 01:08:19
Message-ID: CANWCAZbrMfHgDKQdxs-LFn4U3oWkpQbMBPZO-unZedwtWjWrHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Apr 6, 2024 at 3:47 AM Jeff Davis <pgsql(at)j-davis(dot)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!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-04-06 01:17:04 Re: Popcount optimization using AVX512
Previous Message Nathan Bossart 2024-04-06 01:07:51 Re: Allow non-superuser to cancel superuser tasks.