[clang] Introduce paged vector (PR #66430)

Sergei Barannikov via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 04:02:18 PDT 2023


s-barannikov wrote:

Why don't just turn SLocEntry into a POD and use SmallVector::resize_for_overwrite? That way the vector will not be initialized and the OS will only allocate physical memory on the first access to a page.


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


More information about the cfe-commits mailing list