summaryrefslogtreecommitdiff
path: root/tests/test_xpath.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-22 03:31:09 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-22 03:31:09 +0000
commit28d24e5b6c2ca59879ae75272b7573521277d0eb (patch)
tree7abc07d9b87fe3612f2f123bbce43d67cb55c4ec /tests/test_xpath.cpp
parent3c92704c1983361f0b5a336d1571fe1d6c6a9a53 (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_xpath.cpp')
0 files changed, 0 insertions, 0 deletions