Some users use a long list of patterns (PR50404) and O(|patterns|*|symbols|) can
be too slow. Such usage typically does not use --regex or --wildcard, we can use
a DenseSet<CachedHashStringRef> to optimize name lookups.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I am not @bcain, but I tested this patch locally and can confirm it addressed the performance issue (of using a large list of symbols) for me.
I will update the bug. I think this patch solves the issue.