xsl-list
[Top] [All Lists]

RE: XSLT 2.0 function - fastest node comparison

2005-03-10 08:13:26
so with your example posted given an input of 5 I would guess that you
can return false immediately (or at least after seeing the first range
starts at 988) but your suggested code will check all the ranges.

Saxon evaluates a sequence lazily, and when getting the EBV, will stop after
finding a single node.

Michael Kay
http://www.saxonica.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>
--~--