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

Re: optimization of complex XPath

Subject: Re: optimization of complex XPath
From: Graydon <graydon@xxxxxxxxx>
Date: Fri, 19 Nov 2010 05:26:18 -0500
Re:  optimization of complex XPath
On Fri, Nov 19, 2010 at 09:04:30AM +0000, Michael Kay scripsit:
> I think Saxon-EE will automatically optimize this join for you and
> run it in O(n log n) time.

That might be straightforward; I shall try that first. :)

> Or you could hand-optimize it by running in XSLT and using keys.

I don't know how to declare a key over a collection, and I need to run
this over all the files, rather than each file.

> Both these techniques will use more memory, something which is
> probably in short supply; if you need to optimize memory consumption
> as well as execution time then you could consider some kind of
> filter/sort/merge process, which might be a lot more complex to
> write.

The machine I'm running this on has 8 GB of RAM.  I shall hope that's
enough.

Thank you!
Graydon

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.