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

Re: performance issues saxon

Subject: Re: performance issues saxon
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 18 Feb 2003 15:16:15 -0000
saxon unix
well yeah I have actually used the keys for the second step..( was a mistake
when I reproduced the actual problem)
Any Idea about the performance of Saxon Under Tru64 Unix Box?
Thanks
Vasu
----- Original Message -----
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, February 18, 2003 1:49 PM
Subject: RE:  performance issues saxon


> > Ok if  the requirement is to group all the products of the
> > same id together, I would follow the following steps. 1. Get
> > all the unique nodes 2. Group all the products with the id as
> > defined by the id of the unique node.
> >
> >
> > Is there any other way we could avoid using two nested  loops
> > for a requirement like this? Thanks Vasu
>
> Absolutely. Muenchian grouping solves this in O(n log n) time. See
> www.jenitennison.com/xslt/grouping for the algorithm.
>
> Actually it's essentially the algorithm you described above. Step 1
> requires a serial scan of the document, Step 2 requires an index lookup
> using a key. Your mistake was to do step 2 with a (second, nested)
> serial scan.
>
> Michael Kay
> Software AG
> home: Michael.H.Kay@xxxxxxxxxxxx
> work: Michael.Kay@xxxxxxxxxxxxxx
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.