diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-03 02:37:29 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-03 02:37:29 +0000 |
commit | 04913dc35838da75c58ec4c8e2890e302aa83352 (patch) | |
tree | 27b68eff0b129e3f22aaf1c1a3ca3d41cf0efdf5 /tests/data/utftest_utf32_le_clean.xml | |
parent | f729fee60adbb0aedcb6be5cbf411097ac9a17ed (diff) |
Optimize node_copy_tree by switching to pointers
xml_node objects carry an overhead since they perform NULL checks - in
case of copying a hierarchy we know that we only traverse valid nodes so
we don't need to do this. This makes copyless copy 16% faster.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1043 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/data/utftest_utf32_le_clean.xml')
0 files changed, 0 insertions, 0 deletions