[clang] Introduce paged vector (PR #66430)

Giulio Eulisse via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 27 12:36:48 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;
----------------
ktf wrote:

I will resolve this comment for now, and propose more conversions from std::vector to PagedVector with actual measurements of the gains.

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


More information about the cfe-commits mailing list