This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSLT's Template Dispatch
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XSLT's Template Dispatch
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 5 Jan 2001 17:42:06 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> From: Clark C. Evans [mailto:cce@clarkevans.com]
>
> The decoupling of select and match also allows a
> processor to pre-compute the match expressions up-front.
This is true, but hardly likely to be a useful technique. I don't think many
stylesheets are likely to visit the same node more than once in the same
mode, and the space cost of adding an extra object reference to each node in
the tree (or worse, one object reference per mode) almost certainly exceeds
the time benefit. Since most practical match patterns are very simple,
pattern matching is not actually very time-consuming.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list