diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-09-24 05:22:26 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-09-24 05:22:26 +0000 |
commit | ec050e08a420558bc5d81c75246f478e606ea8f2 (patch) | |
tree | 9d7683a3f4da2265f569eef4a70a1e4aac222439 /scripts/pugixml_vs2008_static.vcproj | |
parent | 5b875e848774923dc4f5b22b8d28f689c70cd120 (diff) |
Optimize xml_buffered_writer::write(const char_t*)
Instead of computing the length and doing memcpy we now copy the head of
the string into the buffer (like strcpy) and then use memcpy for tail if
necessary. This results in 10-15% speedup for writing typical documents with
a mix of short and long strings.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1023 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'scripts/pugixml_vs2008_static.vcproj')
0 files changed, 0 insertions, 0 deletions