[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|