home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!caen!uvaarpa!vger.nsu.edu!g_harrison
- From: g_harrison@vger.nsu.edu (George C. Harrison, Norfolk State University)
- Newsgroups: comp.lang.pascal
- Subject: PERFECT HASH and eggs
- Message-ID: <2445.2a8af966@vger.nsu.edu>
- Date: 14 Aug 92 00:08:06 EDT
- Lines: 18
-
- This may NOT be an FAQ, but I'm sure it is something a lot of people on here
- know about:
-
- Does anyone know or know of a pointer to a PERFECT HASH function
- for the 36 reserved words in ANSI standard Pascal?
-
- I know that I've seen the source to the answer somewhere in my distant past,
- but I can't recall where. Ideally, I need a simple one-to-one function to
- map a reserved word in a string to the integers 0..35 or a variation thereof.
-
- Thanks ahead of time.
-
- George
-
- ******************
- George C. Harrison, Professor of Computer Science, Norfolk State University
- g_harrison@vger.nsu.edu
-
-