Skip to content

Start with capacity zero and let EnsureCapacity set it#204

Merged
benmwatson merged 1 commit intomicrosoft:masterfrom
lbargaoanu:blocks_list_capacity
Sep 17, 2021
Merged

Start with capacity zero and let EnsureCapacity set it#204
benmwatson merged 1 commit intomicrosoft:masterfrom
lbargaoanu:blocks_list_capacity

Conversation

@lbargaoanu
Copy link
Contributor

@lbargaoanu lbargaoanu commented Sep 17, 2021

Fixes #203. Add is only called by EnsureCapacity so I think the capacity will always be set beforehand.

@benmwatson
Copy link
Member

Good catch. Thank you.

@benmwatson benmwatson merged commit b9e4cd2 into microsoft:master Sep 17, 2021
@lbargaoanu lbargaoanu deleted the blocks_list_capacity branch September 17, 2021 18:28
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.

Blocks list initial capacity

2 participants