Skip to content
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

Slice len is always non-negative #261

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

cristaloleg
Copy link
Contributor

Mostly a stylistic change but also might improve assembly. However, changed lines are not hot. WDYT ?

@klauspost
Copy link
Owner

@cristaloleg I don't really see this making any difference, since it is just swapping one instruction for another similar one. But I don't mind it as a cleanup thing.

@klauspost klauspost merged commit 674f18b into klauspost:master Nov 28, 2023
13 checks passed
@cristaloleg cristaloleg deleted the len-is-nonnegative branch November 28, 2023 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants