Subject: Re: [xsl] Help, my problem is n-cubed ... and so is my XSLT code From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 15 Mar 2025 22:38:03 -0000 |
> Haven't measured it [the performance benefits of keys] though. I have. The performance benefits of using keys are substantial. I have two versions of a program to join the <row> elements in <ARPT> with the row elements in <ANAV> with the <row> elements in <BDRY>: 1. The first version uses an xsl:for-each within an xsl:for-each within an xsl:for-each. 2. The second version uses keys. On my large input XML document: 1. The first version took 738 seconds (12 minutes, 18 seconds) 2. The second version took 25 seconds. The version using keys is 29 times faster. /Roger
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Help, my problem is n-cub, Graydon graydon@xxxx | Thread | Re: [xsl] Help, my problem is n-cub, Michael Kay michaelk |
Re: [xsl] Help, my problem is n-cub, Graydon graydon@xxxx | Date | Re: [xsl] Help, my problem is n-cub, Michael Kay michaelk |
Month |