[4suite] [ foursuite-Bugs-1523615 ] Matching with predicates on big nodesets tends to be glacial

SourceForge.net noreply at sourceforge.net
Sun Jul 16 21:01:29 MDT 2006


Bugs item #1523615, was opened at 2006-07-16 20:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428292&aid=1523615&group_id=39954

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 4XSLT (Ft.Xml.Xslt.*)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Matching with predicates on big nodesets tends to be glacial

Initial Comment:
Transforms involving XPath matching a large nodeset
then narrowing it down with a predicate may not run at
a usable speed, even for trivial cases.

For instance, for a document with a very large number
of <item/> nodes all attached to the <root/>, and the
following xsl fragments:
<xsl:template match="/root/item"><!-- fine
--></xsl:template>
<xsl:template match="/root/item[sub]"><!-- slow
--></xsl:template>
<xsl:template match="/root/item[sub/subsub]"><!-- might
never happen --></xsl:template>

Uche suggests the issue is that there are no
optimizations in effect for predicates, which is
something that should be thought about again after the
4Suite 1.0 release.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428292&aid=1523615&group_id=39954



More information about the 4suite mailing list