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

No longer allocate space for uvarint size #225

Merged
merged 2 commits into from
Sep 10, 2018

Conversation

ValarDragon
Copy link
Contributor

In an area within the mempool, we ended not going with amino's implementation to due to allocation on every call. Its an easy fix, and I've added test cases to prove correctness.

Copy link
Contributor

@liamsi liamsi left a comment

Choose a reason for hiding this comment

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

excellent, small PR! Thanks @ValarDragon

@liamsi liamsi merged commit a9e9f40 into develop Sep 10, 2018
@ValarDragon ValarDragon deleted the dev/improve_UvarintSize_Speed branch September 10, 2018 22:18
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