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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 22 14:10:11 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.
----------------
fahadnayyar wrote:

@philnik777 Should this change be cherry-picked on to release/20.x branch or will that happen automatically?

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


More information about the libcxx-commits mailing list