summaryrefslogtreecommitdiff
path: root/docs/samples
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-02 15:57:46 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-05-02 15:57:46 -0700
commit20e2041f14f8ebb842df4ebdac9ba3dc0955e670 (patch)
tree3cb000b8ba7be0a02fe0c708285653cda580d911 /docs/samples
parentf8915c8eab0241d2a9621e28893518c010aa0cb5 (diff)
Reorder conditions in compact_string implementation
Now compact_string matches compact_pointer_parent. Turns out PUGI__UNLIKELY is good at reordering conditions but usually does not really affect performance. Since MSVC should treat "if" branches as taken and does not support branch probabilities, don't use them if we don't need to.
Diffstat (limited to 'docs/samples')
0 files changed, 0 insertions, 0 deletions