comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: function hash
Date: 31 May 2001 09:22:09 +0200
Date: 2001-05-31T09:22:09+02:00	[thread overview]
Message-ID: <87hey20yqm.fsf@deneb.enyo.de> (raw)
In-Reply-To: 3B159410.5532C587@acm.org

Jeffrey Carter <jrcarter@acm.org> writes:

> Florian Weimer wrote:
> > 
> > A hash function returning only 256 different values?  Are there any
> > applications for it?
> 
> Given the original poster's requirements of handling 500-1000 elements,
> that's only 2-4 per bin, so it seemed suitable.

In particular with long strings, this will result in a measurable
performance degradation in comparison to a real hash function because
of the necessity to perform additional key comparisons.



  reply	other threads:[~2001-05-31  7:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-27 22:07 function hash Nacho Robledo
2001-05-28  0:23 ` James Rogers
2001-05-28  6:47 ` Jeffrey Carter
2001-05-30 20:48   ` Florian Weimer
2001-05-31  0:45     ` Jeffrey Carter
2001-05-31  7:22       ` Florian Weimer [this message]
2001-05-31 19:21         ` Simon Wright
2001-05-31  7:13     ` tmoran
2001-05-28 17:04 ` Nacho Robledo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox