Bug 316990 - [xpath2] Axis iteration carries a lot of overhead
Summary: [xpath2] Axis iteration carries a lot of overhead
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.0   Edit
Assignee: Project Inbox CLA
QA Contact: David Carver CLA
URL:
Whiteboard:
Keywords: performance
Depends on: 316986 316988
Blocks:
  Show dependency tree
 
Reported: 2010-06-15 20:11 EDT by Jesper Moller CLA
Modified: 2011-01-28 00:17 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Moller CLA 2010-06-15 20:11:49 EDT
Iterating over axes takes a lot of overhead with temporary ResultSequences flying about, copied at each level, so that e.g. fetching //* is nowhere near linear in count(//*)

Ideally, we'd make the Axis produce lazy evaluators and do the filtering on consumption from the generated sequence. Less copying!
Comment 1 David Carver CLA 2011-01-28 00:17:10 EST
Moving to the XPath component out of XSL.