[clang] Update std symbols mapping (PR #113612)

Vadim D. via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 26 01:26:48 PDT 2024


================
@@ -143,32 +165,33 @@ def _GetSymbols(pool, root_dir, index_page_name, namespace, variants_to_accept):
     with open(index_page_path, "r") as f:
         # Read each symbol page in parallel.
         results = []  # (symbol_name, promise of [header...])
+        symbols_by_page = collections.defaultdict(list)
----------------
vvd170501 wrote:

On my machine it took about 3 minutes for the generator to run, so I tried to optimize it by grouping symbols that are defined on the same page (now it takes 2 minutes).
If the diff is too large or complex, I can move the commit with optimizations to a separate PR.

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


More information about the cfe-commits mailing list