[Issue 17485] bringToFront and/or upperBound slow
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Jun 10 04:08:50 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17485
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Indeed, memmove fixes the specific use case:
https://forums.dlang.org/post/ohgjec$1aar$1@digitalmars.com
However, I think we should do a full examination of everything C++ does to
optimize rotate and include it all at once, instead of waiting for people to
find more cases where std::rotate outperforms D.
--
More information about the Digitalmars-d-bugs
mailing list