clang-include-graph icon indicating copy to clipboard operation
clang-include-graph copied to clipboard

Refactor translation unit glob pattern to handle large directories

Open bkryza opened this issue 7 months ago • 2 comments

Currently, when -u dir/**/*.cpp is specified on a very large directory, the time to filter the translation units against the compile commands is very long. This should be refactored, so that first we extract the files from compile commands and then check them against the glob pattern instead of listing everything.

bkryza avatar May 21 '25 10:05 bkryza

@bkryza , I am currently working on PR for this issue. Are you working on it at the moment?

I wouldn't like to duplicate the work

LuridHound avatar Jul 23 '25 04:07 LuridHound

@LuridHound Thanks for heads up, I'm not working on it right now.

bkryza avatar Jul 23 '25 05:07 bkryza