xsl-list
[Top] [All Lists]

Re: [xsl] How expensive is //?

2006-09-09 11:52:02
On 9/9/06, Steve <subsume(_at_)gmail(_dot_)com> wrote:
But suppose you have a hypothetical root Records with one Record and
100,000 children directly under it. I was wondering if doing
Records/Record/child versus //child would make any difference.

Theoretically speaking, // will generally be slower than explicit path
specification, as the XSLT processor has to search the whole tree. But
realistically speaking, it also depends, what data structure is used
to represent the tree, and what algorithms are used to traverse the
tree.


--
Regards,
Mukul Gandhi

http://gandhimukul.tripod.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>
--~--

<Prev in Thread] Current Thread [Next in Thread>