mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
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:
parent
87c09baff8
commit
e32ff2c2ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue