-
Notifications
You must be signed in to change notification settings - Fork 18k
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
runtime: scavengeOne ignores searchIdx optimization #54892
Comments
Another one nearby: |
Ah, that's a mistake, albeit a minor one. It's not a bug, just slightly less efficient. It should be passed to |
The extra argument |
No need to file an issue about |
Ack, I'll leave both here for you then :) |
Change https://go.dev/cl/429255 mentions this issue: |
Yet searchIdx has never been used in the func body, as far as I can see. Is the parameter truly unnecessary and can be removed, or is it a bug that the parameter isn't being used? I found this one via unparam, but it's not a clear one without understanding the context of the function.
cc @mknyszek @prattmic per
git blame
:)The text was updated successfully, but these errors were encountered: