From: | "Dave Hanson" <drh@microsoft.com> |
Newsgroups: | comp.compilers |
Date: | 8 Jul 1998 01:43:44 -0400 |
Organization: | Microsoft Corp. |
References: | 98-07-030 98-07-040 |
Keywords: | symbols |
The hash function in lcc works fine for me :-)
See http://www.cs.princeton.edu/software/lcc/pkg/src/string.c
It's also available in C Interfaces and Implementations;
see http://www.cs.princeton.edu/software/cii/pkg/src/atom.c
(This function is essentially equivalent to the one recommended by David
Chase.)
dave hanson
>)Can anyone point me to a reference for an industrial-strength hashing
>)algorithm suitable for implementing a symbol table in a C++ parser?
>)I would like something that has been tuned for large C++ programs.
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.