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

Re: how to optimize recursive algorithm?

Subject: Re: how to optimize recursive algorithm?
From: "FC" <flavio@xxxxxx>
Date: Thu, 27 Nov 2003 22:01:26 +0100
recursive algorithm
This is a feature of Saxon 7.x, isn't it?
I am using 6.5.3, sigh!

Thanks,
Flavio


----- Original Message ----- 
From: "Michael Kay" <mhk@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, November 27, 2003 19:06
Subject: RE:  how to optimize recursive algorithm?


> If you work forwards through the list, you can pass the computed values
> onwards as parameters rather than recomputing them each time, which
> should make the algorithm O(n) rather than O(n^2).
> 
> If you prefer, you can get the caching effect by using memoized
> functions in Saxon (saxon:memo-function="yes"), but you have to ask for
> this explicitly.
> 
> Michael Kay
> 


 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.