summaryrefslogtreecommitdiff
path: root/tests/test_xpath_paths.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-09-21 21:52:30 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-09-21 21:52:30 +0000
commitfff1991743c196a471cb5e05569a7631dd15a4fe (patch)
treedea27574ce58e894dea716d81702f3a64fd40271 /tests/test_xpath_paths.cpp
parent53550424d90c8e4b4e01dbc4d26a4f7235065af6 (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_xpath_paths.cpp')
0 files changed, 0 insertions, 0 deletions