[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does anyone have a better scm_string_hash
From: |
Roland Orre |
Subject: |
Re: Does anyone have a better scm_string_hash |
Date: |
Mon, 17 Nov 2003 14:32:19 +0100 |
On Mon, 2003-11-17 at 14:01, Ludovic Courtès wrote:
> I don't think you need to compute a modulo (logical and with HASH_MASK)
> of the hash key, because scm_hasher () returns scm_string_hash () % n.
No you are right, but it felt better just to avoid numerical overflow,
but... I don't remember if that's an issue for integers.
Best regards
Roland
- Re: Does anyone have a better scm_string_hash,
Roland Orre <=