Subject: Re: [bug#29132] [PATCH] system: vm: Use 2^32 - 1 as hash size.

From: [email-masked] (Ludovic Courtès)
Date: Mon, 06 Nov 2017 09:41:09 +0100

Mathieu Othacehe <[email-masked]> skribis:

> Hey Ludo,
>
>> So I take it that you always get something in the range 0–2³²-1, no?
>
> Well I agree, but looking to hash code, we have :
>
> #define FUNC_NAME s_scm_hash
> {
>   unsigned long sz = scm_to_unsigned_integer (size, 1, ULONG_MAX);

Oh, got it.  Well, OK for the patch!

Thank you,
Ludo’.