Skip to content
Snippets Groups Projects
Commit 20e2041f authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

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.
parent f8915c8e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment