Switch the preprocessor over to using the hash table library
authorH. Peter Anvin <hpa@zytor.com>
Mon, 17 Sep 2007 00:57:25 +0000 (17:57 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 17 Sep 2007 01:04:57 +0000 (18:04 -0700)
commit97a234782d6fa7fa551a27f2ede452f5a56f1745
treee937544cbdb0ac1368b587df71b94d3169726207
parentd2fb7a699ea8eb953313eead23180986a424271e
Switch the preprocessor over to using the hash table library

Switch the preprocessor over to using the hash table library.  On my
system, this improves the runtime of the output of test/pref/macro.pl
from over 600 seconds to 7 seconds.

Macros have an odd mix of case-sensitive and case-insensitive
behaviour, plus there are matching parameters for arguments, etc.  As
a result, we use case-insensitive hash tables and use a linked list to
store all the possible isomorphs.
crc64.c
hashtbl.c
hashtbl.h
labels.c
preproc.c