[Bug libstdc++/87106] Group move and destruction of the source, where possible, for speed
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 12 19:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87106
--- Comment #20 from Marc Glisse <glisse at gcc dot gnu.org> ---
TODO: specify __restrict on the arguments of __relocate_object_a. Since one is
initialized and not the other, it should be safe to assume that they are
disjoint, and it helps optimize move+destroy, for instance for unique_ptr<int>.
More information about the Gcc-bugs
mailing list