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

Re: Complex recursion in XSLT 1.0

Subject: Re: Complex recursion in XSLT 1.0
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 16:59:35 +0100 (CET)
Re:  Complex recursion in XSLT 1.0
Michael Kay wrote:

  Hi

> One very minor observation: I think (though I would need
> to verify by testing) that in Saxon this might perform
> better if you added elements at the end rather than the
> start. In particular, this might allow the "new" stack to
> share underlying space with the "old" stack in many cases,
> and to avoid physical copying.

  Very interesting.  I put the new element at the front,
actually because I thought it would avoid some copies...
I don't explicitely know why, I guess that comes from the
Lisp's cell model?

  And if I remember well, sequences in Saxon are represented
by iterators (so one knows the front directly, not the end).
What should be the real Java object underlying the sequence
at the very end (the object that would require copy)?

> (I seem to be unusual in that I think of the top of the
> stack as being at the high-address end. Comes from years
> of exposure to a hardware architecture that worked that
> way.)

  Doesn't seem unusual if you only think of a stack as a
"thing" you can apply pop, top and push to, with a few
relations between the state of the "thing" and those
functions :-)

  Regards,

--drkm





















      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

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.