diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-18 15:28:02 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-18 15:28:02 +0000 |
commit | 72ec01c5f6d23405f30614d63fafa048279ca13d (patch) | |
tree | 0441106c7b49b806517009aaccbdf4b7271ef8c1 /tests/allocator.cpp | |
parent | 45e0c726f05d8a658600b7ca74db42f252f126e9 (diff) |
XPath: Extend the descendant-or-self optimization
Use descendant-or-self::node() transformation for self, descendant and
descendant-or-self axis. Self axis should be semi-frequent; descendant
axes should not really be used with // but if they ever are the complexity
of the step becomes quadratic so it's better to optimize this if possible.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1063 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/allocator.cpp')
0 files changed, 0 insertions, 0 deletions