mirror of https://github.com/bitcoin/bitcoin
swap was using an incorrect condition to determine when to apply an optimization (not swapping the full direct[] when swapping two indirect prevectors). Rather than correct the optimization I'm removing it for simplicity. Removing this optimization minutely improves performance in the typical (currently only) usage of member swap(), which is swapping with a freshly value-initialized object.pull/7888/head
parent
4ed41a2b61
commit
a7af72a697
Loading…
Reference in new issue