# https://github.com/yasm/yasm/commit/e32ff2c2abc22532a58c9b687d922500d23fd709 # Use a larger hash table size # Increases compilation speed of files with a large number of macros by around 20x. # triggered by x264/x265 increased macro usage --- old/modules/preprocs/nasm/nasm-pp.c 2011-10-03 08:14:35.000000000 +0200 +++ new/modules/preprocs/nasm/nasm-pp.c 2014-02-16 23:08:27.916934221 +0100 @@ -366,7 +366,7 @@ * 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.