summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-09-24 05:22:26 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-09-24 05:22:26 +0000
commitec050e08a420558bc5d81c75246f478e606ea8f2 (patch)
tree9d7683a3f4da2265f569eef4a70a1e4aac222439 /README.md
parent5b875e848774923dc4f5b22b8d28f689c70cd120 (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 'README.md')
0 files changed, 0 insertions, 0 deletions