Subject: Re: [xsl] Seek ways to make my streaming XSLT code run faster (My streaming XSLT program has been running 12 hours and is only a quarter of the way to completion) From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 9 Aug 2025 22:59:57 -0000 |
On Sat, 2025-08-09 at 22:25 +0000, Roger L Costello costello@xxxxxxxxx > > I want to iterate over all 1900 identifiers and for each of them, > iterate over all 5 million records to see which records contain the > identifier. There is a loop within a loop: > > For each 1900 identifiers do > B B B For each 5 million records do > B B B B B B B B Check record against identifier Outside streaming, you could apply-templates select="/records/record" and then have a template match="VOR_identifier[ancestor::record[ not(Airport_SID_Primary_Records) ] and then process the record in a different mode? Otherwise yes, XQuery. -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Seek ways to make my stre, Martin Honnen martin | Thread | Re: [xsl] Seek ways to make my stre, Liam R. E. Quin liam |
Re: [xsl] Seek ways to make my stre, Graydon graydon@xxxx | Date | Re: [xsl] Seek ways to make my stre, Liam R. E. Quin liam |
Month |