[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: Better algorithm for growing hash tables
From: |
Toby Butzon |
Subject: |
Re: [Chicken-users] Re: Better algorithm for growing hash tables |
Date: |
Tue, 2 Aug 2005 17:09:40 -0400 |
User-agent: |
Mutt/1.5.8i |
On Tue, Aug 02, 2005 at 05:22:54PM -0400, Ed Watkeys wrote:
> >Yup. But you really should use prime numbers for hash tables.
>
> Is there a paper or book that offers a convincing, empirical argument
> for this? I've read and heard this exhortation before but the
> justification in the presence well designed hash and rehash functions
> has always been "just to be safe."
Maybe the blurb about it here
http://www.concentric.net/~Ttwang/tech/primehash.htm
will help. Read the "Expandable Hash Table" section and the first paragraph
of the next section.
--
Toby Butzon
- [Chicken-users] Re: Better algorithm for growing hash tables, Reed Sheridan, 2005/08/01
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Alejandro Forero Cuervo, 2005/08/01
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Ed Watkeys, 2005/08/01
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Nelson Castillo, 2005/08/02
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Ed Watkeys, 2005/08/02
- Re: [Chicken-users] Re: Better algorithm for growing hash tables,
Toby Butzon <=
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Ed Watkeys, 2005/08/02
- Message not available
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Ed Watkeys, 2005/08/03
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Alejandro Forero Cuervo, 2005/08/03
- Re: [Chicken-users] Re: Better algorithm for growing hash tables, Alejandro Forero Cuervo, 2005/08/03