Skip to content

Use Vec::with_capacity() in Allocator#554

Draft
matt-o-how wants to merge 1 commit intomainfrom
use_vec_with_buffer
Draft

Use Vec::with_capacity() in Allocator#554
matt-o-how wants to merge 1 commit intomainfrom
use_vec_with_buffer

Conversation

@matt-o-how
Copy link
Copy Markdown
Contributor

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

@coveralls-official
Copy link
Copy Markdown

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
Copy Markdown
Contributor

How much memory does this use?

@github-actions
Copy link
Copy Markdown

'This PR has been flagged as stale due to no activity for over 60
days. It will not be automatically closed, but it has been given
a stale-pr label and should be manually reviewed.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants