[libcxx-commits] [libcxx] [libc++] Decrease instantiation cost of __constexpr_memmove (PR #125109)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 4 08:12:32 PST 2025


philnik777 wrote:

> Thanks, LGTM!
> 
> Just curious, do you have any numbers on the compilation performance improvement?

IIRC for every instantiation where the condition is true you save ~0.8ms. Not huge on its own, but given that it's instantiated quite a bit it's probably a nice improvement across an entire code base.

> FYI I fixed a minor typo in `never` in the commit message.

Thanks!


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


More information about the libcxx-commits mailing list