diff options
author | Vitaly Buka <vitalybuka@google.com> | 2025-10-06 14:42:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-06 14:42:52 -0700 |
commit | 5b24b558b3b780fb0f3d4587c7f4a3b4fddeec8b (patch) | |
tree | c46e0a9f4d0123956a048528a4978c6a15d2468b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | de9b3cabb21ac5803a0cbc7b00616ffa687cc7c6 (diff) | |
download | llvm-5b24b558b3b780fb0f3d4587c7f4a3b4fddeec8b.zip llvm-5b24b558b3b780fb0f3d4587c7f4a3b4fddeec8b.tar.gz llvm-5b24b558b3b780fb0f3d4587c7f4a3b4fddeec8b.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions