Skip to content

Construct the return value List with the proper capacity - #256

Open
Jean-Rémy Bancel (JRBANCEL) wants to merge 2 commits into
microsoft:masterfrom
JRBANCEL:patch-1
Open

Jean-Rémy Bancel (JRBANCEL) wants to merge 2 commits into
microsoft: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