home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!ieunet!!bsullivn
- From: bsullivn@sc.sni.ie (Bryan O'Sullivan)
- Newsgroups: comp.lang.c
- Subject: Re: String hashing algorithms
- Message-ID: <161@sc.sni.ie>
- Date: 18 Aug 92 09:01:57 GMT
- Article-I.D.: sc.161
- References: <1992Aug17.133117.21102@hubcap.clemson.edu>
- Reply-To: bryan@sc.sni.ie
- Organization: Siemens-Nixdorf Software Development Centre, Dublin
- Lines: 16
- X-Newsreader: Tin 1.1 PL3
-
-
-
- wolf@hubcap.clemson.edu (Randy Martin) writes:
- : Does anyone have any string hashing algorithms that are very fast and
- : produce few collisions?
-
- I don't have any source to hand, but Peter Weinberger's hashpjw
- algorithm seems to produce consistently good results and few collisions.
- A listing can be found in K&R2 or the 1985 edition of the Dragon book
- (Aho, Sethi, and Ullman).
-
- -- Bryan
-
- --
- Bryan O'Sullivan +353-1-767551 x225
- Siemens-Nixdorf Informationssysteme AG bryan@sc.sni.ie
- Software Development Centre "Theory like mist on eyeglasses.
- Dublin Obscure facts." -- Charlie Chan
-