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

Re: how to estimate speed of a transformation

Subject: Re: how to estimate speed of a transformation
From: "Agnes Kielen" <agnes.kielen@xxxxxxx>
Date: Thu, 11 Dec 2003 12:44:02 +0100
agnes kielen
Hi,

> > Furthermore store the results of calculations in variables if you need
them more often.
>
> Is this advice true? If I need the same 'select' ten (or ten thousand)
times in a program,
> isn't it just simpler to write that select and let the implementation
memoize it?

Yes it would be simpler, but what if the application isn't.

> Its value will not change since the data is the same. Why should I
manually
> 'cache' values if the data model allows to do it consistently and
automatically?
>

I agree if applications would cache it automatically. I wouldn't have to do
it by hand, but I'm don't write parser code and I have no idea how easy or
difficult such a thing would be. However I do know, from other threads
started by you actually, that many possible performance optimizations are
not implemented by all parsers. Such is true, if I understand it correctly
for tail recursion which is optimized by Saxon and jd.xslt but not by other
parsers.

Cheers,
Agnes



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


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.