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

Minor Performance Improvement #252

Merged
merged 2 commits into from Oct 20, 2021
Merged

Minor Performance Improvement #252

merged 2 commits into from Oct 20, 2021

Conversation

lmittmann
Copy link
Contributor

Changed big.NewInt(0).Set(...) to new(big.Int).Set(...). This reduces 1 allocation.

Copy link
Member

@mwoss mwoss left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! That's great that you spotted that out :)

@mwoss mwoss merged commit bc96f54 into shopspring:master Oct 20, 2021
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.

None yet

2 participants