diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-22 03:31:09 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-22 03:31:09 +0000 |
commit | 28d24e5b6c2ca59879ae75272b7573521277d0eb (patch) | |
tree | 7abc07d9b87fe3612f2f123bbce43d67cb55c4ec /tests/test_header_string_2.cpp | |
parent | 3c92704c1983361f0b5a336d1571fe1d6c6a9a53 (diff) |
XPath: Use node pointers in step_push/step_fill
Using pointers instead of node/attribute objects allows us to use knowledge
about the tree to guarantee that pointers are not null. This results in
less null checks (10-20% speedup with optimizations enabled) and less
function calls (5x speedup with optimizations disabled).
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1072 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_header_string_2.cpp')
0 files changed, 0 insertions, 0 deletions