From 2770ee95ed2e7a6d933b3966fe4dbbc227cc15f5 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 20 Oct 2023 11:42:39 -0400 Subject: [PATCH] summary.xsl: Restrict symbol lookup to linker dependency list This accomplishes a couple of major things: 1. Removes the need for package-specific symtable maps, since we can just use the global linker one; and 2. Stops typesetting things that are not linked. I didn't realize how much of the latter was happening. On one of our large programs, the filesize dropped from 64MiB to 51MiB. Consider also that, because the menu generation _does_ only take into account the linked symbol list, _these items were never even accessible_, at least through normal means, so the user couldn't even see them. Compilation time for that program dropped from ~2m20s to ~1m. DEV-15153 --- src/current/summary.xsl | 166 ++++++++++++++++++---------------------- 1 file changed, 76 insertions(+), 90 deletions(-) diff --git a/src/current/summary.xsl b/src/current/summary.xsl index 9d98670d..cf7fee0f 100644 --- a/src/current/summary.xsl +++ b/src/current/summary.xsl @@ -154,17 +154,7 @@ document( concat( @__rootpath, @name, '.xmlo' ), . )/lv:* " /> - - - - - - + @@ -179,18 +169,8 @@ - - - - - - + @@ -407,8 +387,6 @@ - - @@ -485,7 +463,7 @@ + + + - - - - param - - - - classifies - - - - + - - :class: - - + - - - - ( - - + + +
+ + + :class: + + + + + + + ( + + + + ) - ) - - - - + + + -
-
- -
-
- - -
- - - - - Yields: - - - - +
+
+ +
- -
+ + +
+ + + + + Yields: + + + + +
+
+ +
@@ -1184,12 +1174,10 @@ @return anyOf match HTML --> - - - + match any value in @@ -1243,11 +1231,9 @@ @return match HTML --> - - - + = @@ -1272,13 +1258,11 @@ - - + select="preproc:sym-lookup( $name )" /> @@ -1401,13 +1385,17 @@ @return premium calculation output --> - - + + + + + + - - @@ -1422,7 +1410,7 @@ - + @@ -1666,8 +1654,6 @@ - - @@ -1712,7 +1698,7 @@ - +