Subject: RE: [xsl] Cost of complex match patterns From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 13 Aug 2008 21:24:13 +0100 |
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.j.welch@xxxxxxxxx] > Sent: 12 August 2008 10:34 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Cost of complex match pat, Colin Paul Adams | Thread | Re: [xsl] Cost of complex match pat, Andrew Welch |
RE: [xsl] namespaces declarations t, Michael Kay | Date | RE: [xsl] Sorting, but then splitti, Dan Acuff |
Month |