[libcxx-commits] [libcxx] [libc++] Specialize unique_ptr for the default deleter (PR #96504)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 10 11:12:06 PDT 2024


zmodem wrote:

> > It would also be great if you could run the patch through its paces within google.
> 
> I've asked folks more familiar with the internal processes to take a look.

Following up on this, #76756 seems to work fine internally. The only issues I saw were some tests relying on pretty-printing std::string, but that should get fixed with the LLDB patches.

I don't have any overall statistics, but we're seeing some binaries shrink by 3-7% in non-optimized builds, and 2-4% for optimized. At scale, that's a huge improvement.

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


More information about the libcxx-commits mailing list