[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] gentext.template eats 1/3 of CPU
thanks for the reply. Thanks to my profiler I could make several
optimizations that don't make the stylesheets worse or loose on
functionality. Right now I have them in my customization layer. Not sure
if anyone would be interested in patches.
Main problem with gentext right now is also that it does not remember
any lookups (memoization in functional languages). Dunno if such thing
is doable in xslt. I could certainly see the same lookups several time.
What I am now looking into is writing a xslt pre processor, that reads
the xsl + parameters, resolved includes + imports, kicks unused
templates, replaces statics and so on. Then that pre processed
stylesheet should be faster. Lots of work, lets see :)
Stefan
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]