diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-09-23 04:39:58 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-09-23 04:39:58 +0000 |
commit | b480523f87762d21d1eb7d33e33a97dbcbb8cb96 (patch) | |
tree | 858c02591098e5fc608cbaa2955622744b94a743 /tests/test_write.cpp | |
parent | 89fc7c241ca8766ffd327e985d26ee8fcce17b52 (diff) |
XPath: Optimize //name queries when possible
//name means /descendant-or-self::node()/child::name, but we frequently
can replace it with /descendant::name. This means we do not have to build
up a temporary node set with all descendants that can lead to 3x speedups.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1021 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_write.cpp')
0 files changed, 0 insertions, 0 deletions