[clang] [C++20][Modules] Use `MultiOnDiskHashTable` to improve the performance of header search algorithm. (PR #155350)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 25 22:17:52 PDT 2025


================
@@ -373,6 +373,9 @@ class HeaderFileInfoTrait {
   ModuleFile &M;
 
 public:
+  // Maximum number of lookup tables we allow before condensing the tables.
+  static const int MaxTables = 64;
----------------
ChuanqiXu9 wrote:

Out of curiosity, is this tuned? Or is it set randomly?

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


More information about the cfe-commits mailing list