This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81476] severe slow-down with range-v3 library compared to clang
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Jul 2017 16:49:00 +0000
- Subject: [Bug c++/81476] severe slow-down with range-v3 library compared to clang
- Auto-submitted: auto-generated
- References: <bug-81476-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476
--- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Yeah, the
target.insert(target.cbegin(), ranges::begin(concatenated),
ranges::end(concatenated));
appears to cause a bad case of Schlemiel-The-Painter, for each inserted char
the tail of target is memmove'd by 1 byte to the right...