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

Use Vec::with_capacity() in Allocator #554

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

matt-o-how
Copy link
Contributor

allocate memory for the allocator ahead of time to prevent memcopy when we grow

Copy link

Pull Request Test Coverage Report for Build 13437461445

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.141%

Totals Coverage Status
Change from base Build 13318696675: 0.0%
Covered Lines: 6298
Relevant Lines: 6690

💛 - Coveralls

@Rigidity
Copy link
Contributor

How much memory does this use?

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