comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen & Tammy House <house@ro.com>
To: "Robert I. Eachus" <eachus@spectre.mitre.org>
Subject: Re: Looking for generic hash function
Date: 1996/08/21
Date: 1996-08-21T00:00:00+00:00	[thread overview]
Message-ID: <321BA84E.693F@ro.com> (raw)
In-Reply-To: EACHUS.96Aug19172952@spectre.mitre.org


Robert I. Eachus wrote:
> 
> In article <4v23jd$mg9@News.Dal.Ca> grandyre@newton.ccs.tuns.ca (Robert Grandy) writes:
> 
>   > The function would return a pretty much random Integer based on its
>   > generic parameter. I was thinking of using the 'size attribute, 

Most hash functions are used to map a record into a structure (read
array).  So the data_type from the example I left before should be the
key to the record being stored/retrieved.  Your hash will make a nice
random number generator, but if the record needed is ever passed by
value through the system, you'll never find it.




      reply	other threads:[~1996-08-21  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-16  0:00 Looking for generic hash function Robert Grandy
1996-08-16  0:00 ` Stephen & Tammy House
1996-08-16  0:00 ` Robert Dewar
1996-08-19  0:00 ` Robert I. Eachus
1996-08-21  0:00   ` Stephen & Tammy House [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