First-time contributor -- speeding up `std::unique_ptr` compilation
Jonathan Wakely
jwakely@redhat.com
Mon Jul 25 21:34:10 GMT 2022
On Sat, 25 Jun 2022 at 13:45, Vittorio Romeo wrote:
>
> Thank you, Jonathan, for the very thorough explanation and for pointing out that I completely forgot to consider ABI stability in this case.
>
> I still think that it might be worthwhile to attempt some work in this area as multiple projects I work on have various TUs using unique_ptr but not tuple. I will look into the refactoring you suggested.
Something like this would avoid instantiating most of std::tuple while
preserving ABI, but it doesn't seem to really make much difference to
compilation time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unique_ptr.patch
Type: text/x-patch
Size: 2388 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20220725/b53adba6/attachment.bin>
More information about the Libstdc++
mailing list