Skip to content
Snippets Groups Projects
Commit c1829ad2 authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

Optimize xml_buffered_writer::write(char_t...)

Make it easier for the compiler to generate good code by loading bufsize
into a local once and returning new offset from flush(). This results in
7% performance gain.

git-svn-id: https://pugixml.googlecode.com/svn/trunk@1024 99668b35-9821-0410-8761-19e4c4f06640
parent ec050e08
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment