[all-commits] [llvm/llvm-project] 3a86e0: [libc++] Optimize std::getline (#121346)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon May 19 01:59:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a86e0bd29f30d9fc9aea91d481372a1f8f69014
      https://github.com/llvm/llvm-project/commit/3a86e0bd29f30d9fc9aea91d481372a1f8f69014
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/include/istream
    M libcxx/include/streambuf
    A libcxx/test/benchmarks/streams/getline.bench.cpp
    M libcxx/test/std/strings/basic.string/string.nonmembers/string.io/get_line.pass.cpp
    A libcxx/test/support/stream_types.h

  Log Message:
  -----------
  [libc++] Optimize std::getline (#121346)

```
-----------------------------------------------
Benchmark                   old             new
-----------------------------------------------
BM_getline_string        318 ns         32.4 ns
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list