comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Hashing Algorithms
Date: 1996/03/25
Date: 1996-03-25T00:00:00+00:00	[thread overview]
Message-ID: <dewar.827792937@schonberg> (raw)
In-Reply-To: internews46B4920C5E@argonet.co.uk

David Wallace said

"Ia working currently with a Design Issue which requiresbthe use of a hashing
algorithm for a string to an integer.

I have seen a couple of algorithms, however due to their nature would not be
allowed to incorporate them in to the software.

Could anybody point out the source of some hashing algorithms, which are
quick and do not use unchecked conversion within them. If not, I will just have
to reinvent the wheel and write one myself."

Try looking in the GNAT sources, look at the general hash table routines
in the Gnat hierarchy, and the hash routine used by the Namet compiler
unit. Isn't it nice to have sources available?





      parent reply	other threads:[~1996-03-25  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-25  0:00 Hashing Algorithms David Wallace
1996-03-25  0:00 ` Norman H. Cohen
1996-03-25  0:00   ` Robert A Duff
1996-03-25  0:00 ` Robert Dewar [this message]
replies disabled

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