[libcxx-commits] [PATCH] D154286: [libc++][format] Granularize formatter_output.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 14 09:50:34 PDT 2023


Mordante added a comment.

In D154286#4489074 <https://reviews.llvm.org/D154286#4489074>, @hans wrote:

> In D154286#4485940 <https://reviews.llvm.org/D154286#4485940>, @Mordante wrote:
>
>> @hans can you test whether this solves the chromium issue with `vector`. I suspect it doesn't but it would be good to get it confirmed.
>
> For D154122 <https://reviews.llvm.org/D154122> I measure a 8.4 MB decrease, so that one was small as we suspected.
>
> For this new change, we see a 780 MB (0.24%) decrease, which is a nice improvement.
>
> I'm also not sure anymore if the full increase we saw was actually from D149543 <https://reviews.llvm.org/D149543>. The update we did included several libc++ revisions, and that one seemed like a prime suspect, but other changes may have contributed too. It's a bit tricky to bisect because the builds are slow and we can't build at every revision.

Thanks for the feedback! Is this reduction enough or should we consider only including `<__format/*.h>` in C++23 and newer? (C++23 is the language version which introduced formatting for `vector<bool>)`. I don't think that solution is pretty, but `<vector>` is an important header, so I'm not opposed to making the change.

@hans I really like to get your feedback since you're testing this on a larger code base.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154286/new/

https://reviews.llvm.org/D154286



More information about the libcxx-commits mailing list