[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: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Fri, 19 Nov 2010 14:16:10 +0100
Re:  optimization of complex XPath
On 19 November 2010 13:31, Graydon <graydon@xxxxxxxxx> wrote:
> On Fri, Nov 19, 2010 at 11:38:40AM +0100, Wolfgang Laun scripsit:
>>
>>
>> So the initially posted loop will have to be extended to iterate over
>> 90,000 files...?
>
> Yes.
>

Then even Michael's O(n.log(n)) might be beyond the tolerance limit.

Repeating myself: I'd do a single pass XSLT extraction of links and
targets, followed by grep, sort -u and comm, and spend the saved time
surfing ;-)

Adding another idea: Preocessing single-file results after each
individual file's processing will leave you with the remainder that's
either broken or must be matched cross-file-wise, which might help if
most links are file-local.

-W

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.