From: Michael Smith Date: Sun, 10 Jul 2005 16:39:04 +0000 (+0000) Subject: Ulink handling -- fixed performance issue (per-Refentry sets of X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21e0ce38d90fda8f7af79ff4deb5b8912de1232d;p=docbook-dsssl Ulink handling -- fixed performance issue (per-Refentry sets of Ulinks are now assembled once per document and stored in a global variable). It now takes roughly on the order of 15 to 20 percent longer to process a doc with links numbered than it does to process it with links unnumbered. Which may sound like a lot, but with a doc that has 100+ links, on my machine, that still amounts to less than a one-second difference (only about 0.7 seconds). --- diff --git a/xsl/manpages/inline.xsl b/xsl/manpages/inline.xsl index 62d1f8742..8b166974e 100644 --- a/xsl/manpages/inline.xsl +++ b/xsl/manpages/inline.xsl @@ -17,6 +17,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -116,37 +171,14 @@ - - - - - - - - - - - - - + + + + + @@ -169,9 +201,9 @@ [ - + @@ -199,9 +231,16 @@ - - - + + + + + + + + + + - + + + + + + + + + - - - - -