unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Re: Does anyone have a better scm_string_hash
@ 2003-11-17 13:32 Roland Orre
  2003-11-17 14:58 ` Paul Jarc
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Orre @ 2003-11-17 13:32 UTC (permalink / raw)


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




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-17 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-17 13:32 Does anyone have a better scm_string_hash Roland Orre
2003-11-17 14:58 ` Paul Jarc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).