Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364885

Summary: Reduce XPath2 performance and memory footprint
Product: [WebTools] WTP Source Editing Reporter: Jesper Moller <jesper>
Component: wst.xpathAssignee: Jesper Moller <jesper>
Status: NEW --- QA Contact: Jesper Moller <jesper>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jesper Moller CLA 2011-11-26 04:46:39 EST
The space and time overhead of the XPath2 engine is much higher than for instance Xalan, as in one order of magnitude for big iteration, perhaps even with O(n log n) complexity in a few places where Xalan has O(n)...
While the current, DOM-based architecture of the engine will never be as fast as the finely tuned Xalan engine DTM engine, this gap should be reduced to at least be a constant factor, and hopefully be reduced to perhaps 2x instead of 10x.