diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-09-21 21:52:30 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-09-21 21:52:30 +0000 |
commit | fff1991743c196a471cb5e05569a7631dd15a4fe (patch) | |
tree | dea27574ce58e894dea716d81702f3a64fd40271 /tests/test_parse_doctype.cpp | |
parent | 53550424d90c8e4b4e01dbc4d26a4f7235065af6 (diff) |
Optimize text_output_indent
We now precompute indent length and have a fast path for lengths 0..4 that
avoids calling memcpy in a tight loop. This makes node output 20-30%
faster if indentation is enabled.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1018 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_parse_doctype.cpp')
0 files changed, 0 insertions, 0 deletions