summaryrefslogtreecommitdiff
path: root/tests/allocator.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-20 01:00:48 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-20 01:00:48 +0000
commit1b8b87904b0618f853345619e7ee2656cab80113 (patch)
tree2e0ca66bf1fe6914c7f2e7daa10396609d809040 /tests/allocator.hpp
parent2d4e549049a2ed593f5e295b95371c02540d41b1 (diff)
XPath: Introduce _first/_any set evaluation modes
Sometimes when evaluating the node set we don't need the entire set and only need the first element in docorder or any element. In the absence of iterator support we can still use this information to short-circuit traversals. This does not have any effect on straightforward node collection queries, but frequently improves performance of complex queries with predicates etc. XMark benchmark gets 15x faster with some queries enjoying 100x speedup on 10 Mb dataset due to a significant complexity improvement. git-svn-id: https://pugixml.googlecode.com/svn/trunk@1067 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/allocator.hpp')
0 files changed, 0 insertions, 0 deletions