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

remove unnecessary wraps in sort #445

Merged
merged 1 commit into from
Jun 13, 2021
Merged

Conversation

jimexist
Copy link
Member

@jimexist jimexist commented Jun 11, 2021

Which issue does this PR close?

Closes #446

Rationale for this change

removing unnecessary Result wraps can slightly improve performance and reduce clippy warnings

What changes are included in this PR?

Are there any user-facing changes?

@jimexist jimexist changed the title remove unnecessary wraps in sortk remove unnecessary wraps in sort Jun 11, 2021
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a nice cleanup to me (and since they aren't pub fns, I don't think this has any api implications)

@nevi-me nevi-me merged commit efe86cd into apache:master Jun 13, 2021
@jimexist jimexist deleted the refactor-sort branch June 13, 2021 03:06
alamb pushed a commit that referenced this pull request Jun 22, 2021
alamb added a commit that referenced this pull request Jun 23, 2021
Co-authored-by: Jiayu Liu <Jimexist@users.noreply.github.com>
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.

sort kernel has a lot of unnecessary wrapping
3 participants