From 50e31f4616099eae6d68dd2014ff5c0a65b3c8ce Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 12 Oct 2023 11:41:44 -0400 Subject: [PATCH] current/compiler/js-calc.xsl: Replace all preproc:symtable XPaths with map This uses the already-available symtable-map to avoid expensive XPaths resulting in (what I assume to be) linear scans of the symbol table. This effectively makes the fragment compilation time vanish. This had the effect of shaving ~4.5m total off of our largest system (if I were to do `-j1`), and a couple minutes when run in parallel. DEV-15095 --- src/current/compiler/js-calc.xsl | 65 +++++++++++++++----------------- 1 file changed, 30 insertions(+), 35 deletions(-) diff --git a/src/current/compiler/js-calc.xsl b/src/current/compiler/js-calc.xsl index f011ed62..f610cb53 100644 --- a/src/current/compiler/js-calc.xsl +++ b/src/current/compiler/js-calc.xsl @@ -133,6 +133,8 @@