Skip to content

Construct the return value List with the proper capacity#256

Open
JRBANCEL wants to merge 2 commits intomicrosoft:masterfrom
JRBANCEL:patch-1
Open

Construct the return value List with the proper capacity#256
JRBANCEL wants to merge 2 commits intomicrosoft:masterfrom
JRBANCEL:patch-1

Conversation

@JRBANCEL
Copy link
Copy Markdown

The final capacity is known. The list should be created with the proper capacity to avoid unnecessary re-allocations and copying.

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.

1 participant