This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSLT's Template Dispatch


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]