Re: modular docbook stylesheets speedup tips?

Subject: Re: modular docbook stylesheets speedup tips?
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Wed, 18 Mar 1998 13:35:10 -0500
/ ssb@xxxxxxxxxxx (Stig S. Bakken) was heard to say:
| I'm using Jade 1.0.1 and Norman Walsh's docbook stylesheets for
| processing what is becoming a pretty large manual.  On my system it
| takes almost _10 minutes_ for Jade to process my document.

I've found one possible problem.  The code in common/dbtable.dsl
uses the horrifying construction

  ... (descendants (sgml-root-element)) ...

to locate COLSPEC and SPANSPEC elements.  For a large document,
this is _SLOW_.  Change this instead to

  ... (descendants tgroup) ...

in both places and I'll bet things get a lot faster.  (Send me
reports, please, good or bad.)
  
Why did I do this?  Because the CALS Table spec says that
COLSPEC and SPANSPEC are inherited from _preceding_ tables. So
the stylesheet attempts to find all of them.  

Clearly this shouldn't be done the way I've done it.  So that
aspect of the CALS semantics will go away in the next stylesheet
release.  If you want to use COLSPEC and SPANSPEC, put them in
each TGROUP.

--norm




 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: modular docbook stylesheets speedup tips?, (continued)
    • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id JAA26489Wed, 18 Mar 1998 09:28:20 -0500 (EST)
      • Thomas G. Lockhart - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA29859Wed, 18 Mar 1998 12:26:44 -0500 (EST)
      • Stig S. Bakken - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA22599Thu, 19 Mar 1998 12:49:34 -0500 (EST)
    • Christian Leutloff - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA00304Wed, 18 Mar 1998 12:39:04 -0500 (EST)
    • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id NAA01311Wed, 18 Mar 1998 13:37:12 -0500 (EST) <=
    • Frank A. Christoph - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id TAA05132Wed, 18 Mar 1998 19:02:22 -0500 (EST)
      • Chris Maden - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA21687Thu, 19 Mar 1998 11:19:11 -0500 (EST)
        • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id QAA24988Thu, 19 Mar 1998 16:02:10 -0500 (EST)