Bug 316990

Summary: [xpath2] Axis iteration carries a lot of overhead
Product: [WebTools] WTP Source Editing Reporter: Jesper Moller <jesper>
Component: wst.xpathAssignee: Project Inbox <wst.xsl-inbox>
Status: NEW --- QA Contact: David Carver <d_a_carver>
Severity: enhancement    
Priority: P3 Keywords: performance
Version: 3.2   
Target Milestone: 4.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 316986, 316988    
Bug Blocks:    

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.