Skip to content
Snippets Groups Projects
Commit d854b021 authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

XPath: Only call apply_predicates if necessary

In some cases constant overhead on step evaluation is important - i.e. for
queries that evaluate a simple step in a predicate expression. Eliminating
a redundant function call thus can prove worthwhile.

This change makes some queries (e.g. //*[not(*)]) 4% faster.
parent db78f340
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment