Skip to content
Snippets Groups Projects
  • Arseny Kapoulkine's avatar
    20e2041f
    Reorder conditions in compact_string implementation · 20e2041f
    Arseny Kapoulkine authored
    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.
    20e2041f
    History
    Reorder conditions in compact_string implementation
    Arseny Kapoulkine authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.