diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-01 14:19:35 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-10-01 14:19:35 +0000 |
commit | d5dcba75583f38fc60790457a666b53fef149e92 (patch) | |
tree | 494333e8b404c7a8188edb9086317b7fec0f29c1 /src/pugiconfig.hpp | |
parent | 290bf521fa9063b0b917d92a5fa2a94a9f4364bb (diff) |
Use append_new_node in node_copy_tree
This bypasses the allow_insert check (which is redundant for copying since
we're mirroring an existing node structure that must be valid) and does
not cause an extra allocation for new declaration nodes. Overall results
in 15% faster copying,
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1036 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugiconfig.hpp')
0 files changed, 0 insertions, 0 deletions