xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] A question on optimization


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

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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor