[PATCH] D27840: COFF: Cache the result of library searches.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 15 19:42:28 PST 2016
ruiu added a comment.
LGTM. Impressive speedup! Maybe we could speed this up even more by caching directory contents we visited? I don't know how much time we still spend on file searching after this patch though.
Comment at: lld/COFF/Driver.h:93
- std::set<std::string> VisitedFiles;
+ std::set<std::string> VisitedFiles, VisitedLibs;
Write in two lines.
More information about the llvm-commits