[libcxx-commits] [libcxx] [libc++] Memoise `size()` in `vector::__assign_with_size` (PR #180288)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 7 02:40:50 PST 2026


https://github.com/philnik777 commented:

How does this improve things? Do you have any benchmarks/code gen? Why doesn't the compiler manage to do this on its own?

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


More information about the libcxx-commits mailing list