summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-09-23 04:39:58 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-09-23 04:39:58 +0000
commitb480523f87762d21d1eb7d33e33a97dbcbb8cb96 (patch)
tree858c02591098e5fc608cbaa2955622744b94a743 /src/pugixml.hpp
parent89fc7c241ca8766ffd327e985d26ee8fcce17b52 (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 'src/pugixml.hpp')
0 files changed, 0 insertions, 0 deletions