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

RE: [XSL] Accessing part of the result tree illustrate

Subject: RE: [XSL] Accessing part of the result tree illustrated with "The Sudoku solver" example.
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 5 Sep 2007 12:55:52 +0100
RE:  [XSL] Accessing part of the result tree illustrate
> [I wonder if any XSL processor would be optimized enough to 
> free the heap at this point, assuming params go to heap and 
> it stack pointers. For the stack you are definitely stuck at 
> least with pointers to {invalid} heap and return address]

The better XSLT processors will implement "tail call optimization" so that a
recursive call done as the last thing before a function exits reuses the
existing stack-frame rather than creating a new one.

However, I suspect in Sudoku that your maximum recursion depth is likely to
be 81, so this is unlikely to be an issue.

Michael Kay
http://www.saxonica.com/

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-2011 All Rights Reserved.