After building a PCH, the vector capacity is on average ~1/3 unused.
If we're going to keep it in memory for a while, reallocate to the right size.
Take care to do this once clang is destroyed so that we can reuse its
memory rather than requesting more.
Details
Details
- Reviewers
kadircet - Commits
- rG00f0c805ff7c: [Frontend] shrink in-memory PCH buffers to fit
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo