[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 --- Comment #8 from Alexander Monakov --- 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 mem

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 --- Comment #7 from Markus Trippelsdorf --- Ah: - 99.79% 0.02% a.out a.out[.] std::vector >::_M_range_insert >::_M_range_insert >::insert

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 --- Comment #5 from Hannes Hauswedell --- > Please clarify if the problem is in compilation time (how long the compiler > takes to compile the file), or in performance of generated code. Performance of code. > Please attach preprocessed testca

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 --- Comment #4 from Hannes Hauswedell --- Created attachment 41783 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41783&action=edit intermediate code

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 --- Comment #2 from Andrew Pinski --- For clang are you using GCC's libstdc++ or llvm's libc++?

[Bug c++/81476] severe slow-down with range-v3 library compared to clang

2017-07-18 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81476 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm