* Help with Hashing
@ 1998-10-26 0:00 SiliconJesus
1998-10-27 0:00 ` Jeff Carter
1998-10-28 0:00 ` Frank Ecke
0 siblings, 2 replies; 3+ messages in thread
From: SiliconJesus @ 1998-10-26 0:00 UTC (permalink / raw)
I'm trying to write a closed hash function for a table of size thirty one
and the key is a string which is "Lastname, First" up to 20 chars I was
wondering if anyone has any good hash functions or any suggestions, I've
tried a few from Weiss and when I go to find them, it doesn't always work.
Thanks
John
,. '\'\ ,---.
| \\ l\\l_ // | ~NARF!!
| \\/ `/ `.| |
| Y | | || Y |
| \| | |\ / |
\ | o|o | > /
\___\_--_ /_/__/
/.-\(____) /--.\
`--(______)----'
U// U / \
/ \ / /|
==========================================================================
| John M. Softich | " I wanna live, I wanna love |
| softichj@cs.montana.edu | but it's a long hard |
| Montana State University | road out of hell! " |
| Http://cs.montana.edu/~softichj | ~Manson |
==========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help with Hashing
1998-10-26 0:00 Help with Hashing SiliconJesus
@ 1998-10-27 0:00 ` Jeff Carter
1998-10-28 0:00 ` Frank Ecke
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Carter @ 1998-10-27 0:00 UTC (permalink / raw)
To: SiliconJesus
You might want to look at P. K. Pearson, "Fast Hashing of
Variable-Length Text Strings," Comm. ACM, 1990 Jun. It claims to be a
fast "hashing function specifically tailored to variable-length text
strings. ... Similar strings are not likely to collide."
--
Jeff Carter PGP:1024/440FBE21
E-mail: carter commercial-at innocon period com
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help with Hashing
1998-10-26 0:00 Help with Hashing SiliconJesus
1998-10-27 0:00 ` Jeff Carter
@ 1998-10-28 0:00 ` Frank Ecke
1 sibling, 0 replies; 3+ messages in thread
From: Frank Ecke @ 1998-10-28 0:00 UTC (permalink / raw)
On Mon, 26 Oct 1998, SiliconJesus <softichj@cs.montana.edu> wrote:
> I'm trying to write a closed hash function for a table of size thirty one
> and the key is a string which is "Lastname, First" up to 20 chars I was
> wondering if anyone has any good hash functions or any suggestions, I've
> tried a few from Weiss and when I go to find them, it doesn't always work.
Have a look at GNAT's hash function:
1) obtain the sources from ftp.cs.nyu.edu/pub/gnat/gnat-3.10p-src.tar.gz
2) check gnat-3.10p-src/src/ada/namet.*
Hope this helps.
Frank
--
Frank Ecke <franke@minet.uni-jena.de>
In a world without walls and fences, who needs windows and gates?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-10-28 0:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-26 0:00 Help with Hashing SiliconJesus
1998-10-27 0:00 ` Jeff Carter
1998-10-28 0:00 ` Frank Ecke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox