With this patch, we only collect refs for canonical headers (headers
with header guards). As non-canonical headers are usually generated, and
not interesting to users.
For LLVM, we have ~2.8 million refs (out of 6 million) for generated inc
headers.
Before | After | |
file size | 78 MB | 55MB |
memory | 330MB | 260MB |
High-level comment - what are you doing here? Why?