[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: perfomance question about selecting from child-nod

Subject: Re: perfomance question about selecting from child-node
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 22 May 2003 17:23:25 +0100
Re:  perfomance question about selecting from child-nod
> it is slower when i am on a specific branch/node, if i go back to t

It probably is, but there is probaby a time cost in passing parameters
as well. Which one wins will be highly processor specific.
Compared to using keys instead of //* which can make orders of magnitude
difference, this is likely to be a very small effect as you are only
going .. to access th eparent and I would guess most systems optimise
.. fairly heavily. If you were searching up arbitrary amounts,
ancestor::*[this and that and the other] then not doing that search and
passing down a parameter will probably start to win. (Unless your xsl
system spots that the same search is being done repeatedly and optimises
it away...).


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.