xsl-list
[Top] [All Lists]

RE: [xsl] Cost of complex match patterns

2008-08-13 13:25:45
In Saxon, //bar is handled by an index, so exists(//bar) should be quite
fast after the first time (when the index is built).

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: Andrew Welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com] 
Sent: 12 August 2008 10:34
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Cost of complex match patterns

Out of interest, given the match patterns:

match="foo[//bar]"

match="foo"

Should the former be avoided, or because it's within a match 
pattern it's converted to a simple lookup so it's fine?

(I realise this is implementation dependent, just curious)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--