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

optimize: avoid insert into Vec; use into_iter for less derefer… #3102

Merged
merged 1 commit into from
Oct 29, 2019
Merged

optimize: avoid insert into Vec; use into_iter for less derefer… #3102

merged 1 commit into from
Oct 29, 2019

Conversation

aurexav
Copy link
Contributor

@aurexav aurexav commented Oct 29, 2019

  • avoid insert into Vec
  • use into_iter for less dereference

Copy link
Member

@antiochp antiochp left a comment

Choose a reason for hiding this comment

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

👍

}
res.reverse();
Copy link
Member

Choose a reason for hiding this comment

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

Nice. Good catch. 👍

@antiochp antiochp merged commit a39ff54 into mimblewimble:master Oct 29, 2019
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