summaryrefslogtreecommitdiff
path: root/tests/test_dom_text.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-08-26 06:10:52 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-08-26 06:10:52 +0000
commit211212c9861834c2f8327a1efe6690a893365823 (patch)
treeb33e1255d1f593a4ed82299bcb133bcfe90346ef /tests/test_dom_text.cpp
parent0f5101bfc5355cbc0c5525403be0073bc614b390 (diff)
Unroll performance-critical loops 4x
Use a special macro that unrolls the loop body and uses static branch prediction to improve code generation. This increases performance across all data sets from benchmark; clang x64 is 10%-40% faster, clang x86 is 5%-20% faster, msvc is 5%-10% faster. git-svn-id: https://pugixml.googlecode.com/svn/trunk@1008 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_dom_text.cpp')
0 files changed, 0 insertions, 0 deletions