From 7a2ce00ed57ec4711c38e4a46ddad9cda9a4455f Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 21 Jan 2020 00:02:16 -0500 Subject: [PATCH] src/current/compiler/js.xsl: Remove inline defaults for anyValue This not only reduces file size, but also has a significant performance benefit for the UI, which is almost entirely classifications. A run for one of our systems was reduced from 1m30s to 11s from this change. --- src/current/compiler/js.xsl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/current/compiler/js.xsl b/src/current/compiler/js.xsl index fe6d5a5c..cba86787 100644 --- a/src/current/compiler/js.xsl +++ b/src/current/compiler/js.xsl @@ -560,7 +560,15 @@ + + args[' + + '] + + + + gen @@ -582,12 +590,6 @@ select="for $match in $criteria return $symtable-map( $match/@on )" /> - - args[' - - '] - - @@ -852,11 +854,9 @@ - , ( + , - || ( - - = [] ) ), + ,