[libcxx-commits] [libcxx] [libc++] Optimize rotate (PR #120890)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 19 09:03:20 PST 2025


================
@@ -122,6 +122,9 @@ Improvements and New Features
 
 - The performance of ``std::getline`` has been improved, resulting in a performance uplift of up to 10x.
 
+- ``rotate`` has been optimized, resulting in a performance improvement of up to 2.2x for trivially move assignable
----------------
ldionne wrote:

Those are the wrong release notes.

Also I'd drop the special mention of `for trivially move assignable types`.

https://github.com/llvm/llvm-project/pull/120890


More information about the libcxx-commits mailing list