-
Notifications
You must be signed in to change notification settings - Fork 519
network: tiny speedup, less allocation #6246
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
Conversation
Very small twekas while reading txHandler.go
33f5085 to
727b9bc
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6246 +/- ##
==========================================
+ Coverage 51.76% 51.78% +0.01%
==========================================
Files 644 644
Lines 86523 86517 -6
==========================================
+ Hits 44790 44799 +9
+ Misses 38864 38852 -12
+ Partials 2869 2866 -3 ☔ View full report in Codecov by Sentry. |
algorandskiy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*crypto.Digest to crypto.Digest looks surprising because that pointer's purpose in decreasing copying and allocations in early version of golang.
Very small twekas while reading txHandler.go
This makes the saltedCache a tiny bit faster, and perform fewer allocs.
Summary
Test Plan