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

Re: How many passes through the document

Subject: Re: How many passes through the document
From: Liam R E Quin <liam@xxxxxx>
Date: Sun, 23 Sep 2012 00:44:01 -0400
Re:  How many passes through the document
On Sun, 2012-09-23 at 01:03 +0100, Ihe Onwuka wrote:
> Of course if I had written it like this with the variable local
> instead of global I wouldn't be asking the question.
> 
> So I guess the question is whether the global version entails an extra
> pass over the data or any other performance penalty.

Measure it and see. With declarative / non-procedural languages,
performance is often more about the implementation and what it optimizes
than anything else. For example, some XSLT implementations build a table
of elements in the document as the document is loaded, and others don't.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Co-author, 5th edition of "Beginning XML", Wrox, Summer 2012

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.