-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add golang.org/x/tools/internal/fastwalk #232
Comments
Could you please expand a bit on why you'd want it? At least personally, when I want something faster than |
In fact, fastwalk appears to have zero importers, so perhaps it's entirely unused and should be removed. |
|
1 - why is go-zglob not simply using https://pkg.go.dev/path/filepath#WalkDir? 2 - you're right that fastwalk is used by x/tools; pkg.go.dev is wrong about "zero importers". I asked them about it, and they said they wrote this package before 3 - the work is not the problem :) I mainly do not want to add a package if the need is already met by the standard library. In this case, I'm pretty sure it already is. |
@mvdan I have no strong meaning as to whether fastwalk is useful, though I just woould chime in that fastfalk also
I suspect at least the first bullet is important for gopls. |
Copy
golang.org/x/tools/internal/fastwalk
asgithub.com/rogpeppe/go-internal/fastwalk
.The text was updated successfully, but these errors were encountered: