aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/declextract/fileops.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-12-12 15:02:40 +0100
committerDmitry Vyukov <dvyukov@google.com>2024-12-12 15:03:51 +0000
commit1cc680471dc68c265d7dd55f80ef7a1de48fa63f (patch)
treec38d7903d6247781c05b97b0e3b868d45b5d6654 /pkg/declextract/fileops.go
parent530e80f8ee7c0e39b3e98ed0839a557af2d6192e (diff)
pkg/clangtool: cache combined output
Instead of caching output for each file separately, cache total combined output in a single file. Caching output for each file is not useful in practice, I either use everything cached, or regenerate whole cache. Caching combined output is much more efficient. With function info there are lots of duplication across individual output files. E.g. I am getting 6GB cache for individual files, and only 60MB for the combined cache. Also change how caching works. Remove the flag and always use the cache if it exists. It's much more convinient and safer to use (accidentially not using the cache). The cache file can be removed to force regeneration.
Diffstat (limited to 'pkg/declextract/fileops.go')
0 files changed, 0 insertions, 0 deletions