From a8ef1b4fd1bb9321bd909258256002c062e27f98 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 12 Oct 2023 12:58:47 -0400 Subject: [PATCH] Begin to use symtable-map for template/macro passes I wanted to get this committed before I continue because it required changes to the `expand-sequence` system---tunneling params cannot pass through functions, so this accepts a context to pass back to the calling system via the `eseq:expand-node` override. Otherwise, the key change here is the elimination of a preproc:symtable XPath within a `template/@match`, which was a huge performance problem with the preceding commits. This improves build times modestly, but there are more changes that this sets up for, so I'll keep going. DEV-15095 --- src/current/include/preproc/package.xsl | 24 +++++++- src/current/include/preproc/template.xsl | 70 ++++++++++++------------ src/preproc/expand/expand-sequence.xsl | 25 ++++++--- 3 files changed, 73 insertions(+), 46 deletions(-) diff --git a/src/current/include/preproc/package.xsl b/src/current/include/preproc/package.xsl index 0426cf33..ddbe22ee 100644 --- a/src/current/include/preproc/package.xsl +++ b/src/current/include/preproc/package.xsl @@ -46,6 +46,25 @@ + + + + + + + +