Skip to content

Use a known buffer size to reduce allocations#2306

Open
allreadyexists wants to merge 1 commit intodotnet:mainfrom
allreadyexists:feature/buffer_a_known_size_in_advance
Open

Use a known buffer size to reduce allocations#2306
allreadyexists wants to merge 1 commit intodotnet:mainfrom
allreadyexists:feature/buffer_a_known_size_in_advance

Conversation

@allreadyexists
Copy link

In dotnet 8 and above, you can use a fixed-size buffer to reduce the number of allocations and copies

@allreadyexists
Copy link
Author

@dotnet-policy-service agree

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