Add a hash for pathname searches, instead of searching very pass
commit169ac7c152ee13ed0c470ceb3371e9afb10e9a60
authorH. Peter Anvin <hpa@zytor.com>
Mon, 26 Sep 2016 00:08:05 +0000 (25 17:08 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 26 Sep 2016 00:08:05 +0000 (25 17:08 -0700)
tree5fcfd4d7ff3c07bbeb80b3f6557d67e4b0e31423
parent96921a5ad83cb17b99c6ae0b28c423a7f48acf0d
Add a hash for pathname searches, instead of searching very pass

We have been doing a pathname search every time we encounter a file,
which means every file in every pass.  Instead, put the pathnames
found in a hash table.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
asm/nasm.c
asm/preproc-nop.c
asm/preproc.c
include/nasm.h