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

Re: alternative to repeatedly walking the ancestor axi

Subject: Re: alternative to repeatedly walking the ancestor axis in 1.0
From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Aug 2008 06:46:41 -0700
Re:  alternative to repeatedly walking the ancestor axi
> > P.S. You seems to be obsessed with an optimization of ancestor walks.
> >
Are you sure you have a problem in the first place?
> 
> Obsessed is the
wrong word - perhaps "mildly interested" is more
> accurate - but yes I would
say it's a problem to have to walk the
> ancestor axis for every node.  Why?
It can be expensive depending on
> the tree model and it prevents potential
streaming optimisations.
> 
> And of course, when the application is large
enough and used by enough
> people, a slight performance tweak can save a lot
of money.

If ancestor walks are what the profiling shows as a bottleneck
then it's definitely worth for an attention. I wouldn't trusted to a feeling.
Besides, I think explicit optimization can harm to an optimization that engine
may perform on itself.

--
Vladimir Nesterovsky
http://www.nesterovsky-bros.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-2007 All Rights Reserved.