home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c:18813 comp.lang.pascal:7645
- Newsgroups: comp.lang.c,comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!torn!spartan.ac.BrockU.CA!tmc
- From: tmc@spartan.ac.BrockU.CA (Tim Ciceran)
- Subject: Hash Coding Revisited
- Message-ID: <1992Dec23.045823.3085@spartan.ac.BrockU.CA>
- Organization: Brock University, St. Catharines Ontario
- Date: Wed, 23 Dec 1992 04:58:23 GMT
- Lines: 18
-
- I'm in need of a hashing algorithm to be used with strings of
- alphanumeric characters. Does anyone happen to know if a function
- has been developed which has a very low probability of generating
- a collision when given a sizable number of records and a significant
- amount of address space? The total number of records will likely
- exceed 100k entries of ~5 bytes/record (the index is existential,
- so storage is not a great concern).
-
- Also, because collisions will be inevitable to some degree, would
- it be more efficient to use an additional secondary key to resolve this
- situation or simply adopt a double hashing or chaining strategy?
-
- Any references or insights would be greatly appreciated.
-
- Cheers,
-
- TMC
-
-