diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-07 19:08:49 +0100 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-07 19:08:49 +0100 |
commit | d854b0219dcb1cecc42e87b1c397cb683967b74d (patch) | |
tree | 7f0735de5e68668def06fcd1883799928fc35b13 /tests/test_header_iosfwd_2.cpp | |
parent | db78f34054275890000e0f114100730022e5ad16 (diff) |
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.
Diffstat (limited to 'tests/test_header_iosfwd_2.cpp')
0 files changed, 0 insertions, 0 deletions