Re: [xsl] How expensive is //?

Subject: Re: [xsl] How expensive is //?
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sat, 9 Sep 2006 22:48:14 +0530
On 9/9/06, Steve <subsume@xxxxxxxxx> 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

Current Thread