DescriptionSimplify VectorMover<true, T>::swap()
Simplify VectorMover<true, T>::swap() - use std::swap_ranges instead
of creating the loop ourselves, plus the patch removes a "FIXME"
comment - compiler already produces the most efficient code for POD
types swap, so there is no need to introduce compex algorithms for
that (checked with GCC 4.7.2).
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169747
Patch Set 1 #
Messages
Total messages: 10 (0 generated)
|