[libcxx-commits] [libcxx] [libc++] Optimize std::getline (PR #121346)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 27 06:20:21 PDT 2025


================
@@ -120,6 +120,8 @@ Improvements and New Features
 
 - Added :ref:`hardening mode <hardening>` support for ``forward_list`` and ``bitset``.
 
+- The performance of ``std::getline`` has been improved, resulting in a performance uplift of up to 10x.
----------------
ldionne wrote:

It's release-noted in the LLVM 20 release notes, but I guess it landed later than expected so it should actually have been documented in the LLVM 21 release notes. Is that possible? If so, let's move the release notes to the right file.

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


More information about the libcxx-commits mailing list