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

pre-allocate memory for AggregateVerify #6285

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

prestonvanloon
Copy link
Member

What type of PR is this?

Other

What does this PR do? Why is it needed?

This PR allocates the correct amount of memory so that the slices created in AggregateVerify have the correct capacity.

Which issues(s) does this PR fix?

Helps for #5176

Other notes for review

Tested at runtime with negligible improvements to init sync.

@prestonvanloon prestonvanloon requested a review from a team as a code owner June 16, 2020 22:50
@prestonvanloon prestonvanloon added OK to merge Ready For Review A pull request ready for code review labels Jun 16, 2020
@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #6285 into master will decrease coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #6285      +/-   ##
==========================================
- Coverage   60.00%   59.92%   -0.09%     
==========================================
  Files         328      325       -3     
  Lines       28146    27634     -512     
==========================================
- Hits        16890    16559     -331     
+ Misses       8926     8806     -120     
+ Partials     2330     2269      -61     

@prylabs-bulldozer prylabs-bulldozer bot merged commit 4740f7e into master Jun 16, 2020
@delete-merged-branch delete-merged-branch bot deleted the AggregateVerify-Alloc branch June 16, 2020 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants