[libcxx-commits] [libcxx] [libc++] Replace __resize_default_init with resize_and_overwrite (PR #157121)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 16 01:30:57 PDT 2025
philnik777 wrote:
> LGTM but let's make sure the benchmarks are not negatively impacted.
Since we didn't have any benchmarks yet, I've added one, and the numbers seem pretty good:
```
-----------------------------------------------------------
Benchmark old new
-----------------------------------------------------------
BM_StringResizeAndOverwrite 8.39 ns 5.66 ns
```
https://github.com/llvm/llvm-project/pull/157121
More information about the libcxx-commits
mailing list