[llvm] Introduce paged vector (PR #66430)
Richard Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 17:38:25 PDT 2023
================
@@ -501,7 +502,7 @@ class ASTReader
///
/// When the pointer at index I is non-NULL, the declaration with ID
/// = I + 1 has already been loaded.
- std::vector<Decl *> DeclsLoaded;
+ llvm::PagedVector<Decl *> DeclsLoaded;
----------------
zygoloid wrote:
I think making this decision based on measurements of memory savings in practice makes a lot of sense.
https://github.com/llvm/llvm-project/pull/66430
More information about the llvm-commits
mailing list