llvm-project
5b24b558 - [Support] Extract simple suffix from GlobPattern (#162118)

Commit
195 days ago
[Support] Extract simple suffix from GlobPattern (#162118) Existing glob is optimized with prefix for "src:/dir1/dir2/*", but I notices we often use patterns like "src:*dir1/dir2/file.h". So suffix will help. It will be hard to notice in most cases, but I use ignore list to bisect some falures. E.g. put 100k entries in the file, and build/test as needed. On one of hard compilation units glob matching was 400s, after the change 20s. Still, there is higher level inefficiency in ignore list matching, which I will address in followup patches and remove 20s above.
Author
Parents
Loading