fasthash32() returning uint64?

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: John Naylor <john(dot)naylor(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: fasthash32() returning uint64?
Date: 2024-04-05 20:47:29
Message-ID: b16c93e6c736a422d4de668343515375664eb05d.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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?

Regards,
Jeff Davis

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2024-04-05 20:55:22 Re: Cutting support for OpenSSL 1.0.1 and 1.0.2 in 17~?
Previous Message Jeff Davis 2024-04-05 20:43:59 Re: Improve eviction algorithm in ReorderBuffer