From 297bf4a506db4c5db082ce568ed4b18075aa886a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 19 Oct 2023 12:43:17 -0400 Subject: [PATCH] preproc/symtable: Linear-time type resolution This was optimized previously, having introduced `@need-resolve-dtype`. But, while that solved the problem for some packages, it was not enough for a package with 40,000 symbols. This introduces a map for typedefs' symbols and eliminates ~15s for that package. DEV-15114 --- src/current/include/preproc/symtable.xsl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/current/include/preproc/symtable.xsl b/src/current/include/preproc/symtable.xsl index 8f1ca9f5..98cd028a 100644 --- a/src/current/include/preproc/symtable.xsl +++ b/src/current/include/preproc/symtable.xsl @@ -256,7 +256,10 @@ - + @@ -845,14 +848,13 @@