[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Martin Honnen wrote:
It's good to know. This means that order of multiple conditions in evaluation is important for optimization purposes, the one that is most likely
to fail should be the first condition.
Re: [xsl] Do xsl processors contain optimizer for conditions?
Subject: Re: [xsl] Do xsl processors contain optimizer for conditions? From: cert21 <cert21@xxxxxxx> Date: Sat, 14 Nov 2009 12:29:56 -0500 |
Martin Honnen wrote:
Thank you.
Technically it is a question about XPath expressions, if you look at the specification http://www.w3.org/TR/xpath#booleans then it clearly says for 'and' expressions:
"The right operand is not evaluated if the left operand evaluates to false."
And for 'or' expressions:
"The right operand is not evaluated if the left operand evaluates to true."
So it is not question about optimization, the language specification prescribes what to do.
It's good to know. This means that order of multiple conditions in evaluation is important for optimization purposes, the one that is most likely
to fail should be the first condition.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Do xsl processors contain, Martin Honnen | Thread | RE: [xsl] Do xsl processors contain, Michael Kay |
Re: [xsl] Do xsl processors contain, Martin Honnen | Date | RE: [xsl] Do xsl processors contain, Michael Kay |
Month |
Keywords