Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/imports: slow due to unnecessary vendor scans #22370
What version of Go are you using (
After digging in more I found that the function canUse gets called after all the candidates have been assembled (including hundreds of thousands of packages that can't be used).
Ideally, the recursive exploration of candidates under