Bug #2489
closed
Performance for pattern with first position predicate
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Description
Poor performance in Saxon 9.6.0.7 for stylesheet with template match pattern body/text()[1][. = ' ']
Non linear performance as size of input XML is increased (where the number
nodes increases, but the number of children of nodes does not).
As reported by user on help forum https://saxonica.plan.io/boards/3/topics/6209.
- Status changed from New to Resolved
- Assignee set to Debbie Lockett
- Priority changed from Low to Normal
Patch committed to subversion on 9.6 branch. Added some basic optimisation for patterns with a position predicate: in the matchesBeneathAnchor method of SimplePositionalPattern, for the getSiblingPosition call use a limit which depends on the required position (rather than being arbitrary).
No corresponding change for the 9.7 development branch, since other new changes already do more optimisation.
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.8
Bug fix applied in the Saxon 9.6.0.8 maintenance release
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.8 added
- Sprint/Milestone set to 9.6.0.8
Please register to edit this issue
Also available in: Atom
PDF