This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Chunking performance
- From: Daniel Veillard <veillard at redhat dot com>
- To: Norman Walsh <ndw at nwalsh dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 06 Sep 2002 10:41:54 -0400
- Subject: Re: DOCBOOK-APPS: Chunking performance
- References: <87fzwne374.fsf@nwalsh.com>
- Reply-to: veillard at redhat dot com
On Fri, Sep 06, 2002 at 08:02:23AM -0400, Norman Walsh wrote:
> I've been experimenting with improving the performance of the chunking
> stylesheets. The primary goal of my experiments was to get rid of the
> hairy (and probably expensive) recalculation of prev/next for each
> chunk.
Sounds cool :-)
> a try. Try using chunk.xsl with chunk.fast=0 and chunk.fast=1, the
> output should be the same, but the "fast" version should be faster.
> Using fast chunking requires support for the exsl:node-set() function
> (which Saxon and xsltproc provide). Without it, there won't be any
> difference.
>
> The chunkfast.xsl stylesheet may be marginally faster than even the
> fast version of chunk.xsl. It avoids calling exsl:node-set()
> repeatedly, but will crash and burn if that function isn't supported.
Just in case it went unnoticed --norman is an alias for xsltproc
option --profile , enjoy ;-) !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/