Use a larger hash table size

Increases compilation speed of files with a large number of macros by
around 20x.
This commit is contained in:
Henrik Gramner 2014-01-16 23:37:11 +01:00 committed by Henrik Gramner
parent 87c09baff8
commit e32ff2c2ab

View file

@ -366,7 +366,7 @@ static ListGen *list;
* FIXME: We should *really* be able to configure this at run time,
* or even have the hash table automatically expanding when necessary.
*/
#define NHASH 31
#define NHASH 4096
/*
* The current set of multi-line macros we have defined.