Skip to content

Commit b7d96b3

Browse files
committed
Optimize XPath step
If a predicate of xpath is position-independent, we don't need to create nodesets that has many duplicated nodes with different positions. Implements optimization of preceding-sibling/following-sibling with simple positional predicates as an example. We can add more optimizations for other axis in the future.
1 parent 7d9e7c2 commit b7d96b3

5 files changed

Lines changed: 513 additions & 169 deletions

File tree

0 commit comments

Comments
 (0)