summaryrefslogtreecommitdiff
path: root/contrib/foreach.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-03 02:37:29 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-03 02:37:29 +0000
commit04913dc35838da75c58ec4c8e2890e302aa83352 (patch)
tree27b68eff0b129e3f22aaf1c1a3ca3d41cf0efdf5 /contrib/foreach.hpp
parentf729fee60adbb0aedcb6be5cbf411097ac9a17ed (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 'contrib/foreach.hpp')
0 files changed, 0 insertions, 0 deletions