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

Re: A question on optimization

Subject: Re: A question on optimization
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 03 Nov 2004 12:19:00 +0100
Re:  A question on optimization
Hi Michael,

I don't think there's likely to be any significant difference between using
a single-valued key, as shown here, and using a global variable. Using a
global variable seems much more intuitive.

But here I'm guessing.

I agree, a global variable is about as good as a single-key index (not single-valued!). Though, my impression on some XSLT 1 implementations was that the keying mechanism is more optimized to traverse the document than the evaluation of //. And accessing a key instead of a variable might make a difference as well.


But I agree: there is only one way to find out: measuring it. :-)

Grtz,
Geert

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.