-
Notifications
You must be signed in to change notification settings - Fork 999
transform: optimize range over []byte(string) #4523
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
Conversation
|
The test failures don't seem relevant, but I could easily be mistaken. |
|
The fix for nix is in... or at least for the CI. Please rebase against latest dev. |
|
LGTM but I really want @aykevl's take on this. |
| return false | ||
| } | ||
| } else { | ||
| case !use.IsALoadInst().IsNil(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment to this block so it doesn't get lost next to the default label?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
aykevl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this looks reasonable (and I agree a comment before default: would look slightly better).
fffaac9 to
a708994
Compare
dgryski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.