From b3f92e0678906897ab5a8e647a5d18b9ef79d372 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 18 Oct 2023 16:28:42 -0400 Subject: [PATCH] depgen: Combine preproc:symtable sym-ref generation cases This does not impact performance, but it makes it less confusing. What a mess this whole thing is. I'll have to incrementally refactor it until it makes sense enough to optimize. For this who don't know, from XSLT 1.0 days: "rtf" means "result tree fragment", before sequences were a thing, and you had to treat generated trees specially. Yeah, old code. DEV-15114 --- src/current/include/depgen.xsl | 123 ++++++++++++++------------------- 1 file changed, 52 insertions(+), 71 deletions(-) diff --git a/src/current/include/depgen.xsl b/src/current/include/depgen.xsl index 4c0dab6d..93d5aaae 100644 --- a/src/current/include/depgen.xsl +++ b/src/current/include/depgen.xsl @@ -142,7 +142,7 @@ - + - - - - - - - + + + + + + - - + - - - + @@ -228,63 +219,53 @@ } - - - - + - - + + + - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - _{ - - } - - - + + + + + + + + + + + + + + + + + + + + _{ + + } + + + + +