Skip to content

Commit d6afdc4

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 5815baf commit d6afdc4

5 files changed

Lines changed: 504 additions & 180 deletions

File tree

0 commit comments

Comments
 (0)