diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-02 15:57:46 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-02 15:57:46 -0700 |
commit | 20e2041f14f8ebb842df4ebdac9ba3dc0955e670 (patch) | |
tree | 3cb000b8ba7be0a02fe0c708285653cda580d911 /tests/data/truncation.xml | |
parent | f8915c8eab0241d2a9621e28893518c010aa0cb5 (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 'tests/data/truncation.xml')
0 files changed, 0 insertions, 0 deletions