llvm-project
61946687 - [clang][modules] Shrink the size of `Module::Headers` (#113395)

Commit
1 year ago
[clang][modules] Shrink the size of `Module::Headers` (#113395) This patch shrinks the size of the `Module` class from 2112B to 1624B. I wasn't able to get a good data on the actual impact on memory usage, but given my `clang-scan-deps` workload at hand (with tens of thousands of instances), I think there should be some win here. This also speeds up my benchmark by under 0.1%.
Author
Parents
Loading