-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Using stackalloc instead of new byte[x] on Streams #88303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
449fdde
first XOR Linq implemetation
Poppyto 980d208
replace classic allocation by stack allocation for ReadByte
Poppyto 1846980
replace classic allocation by stack allocation for ReadByte & WriteByte
Poppyto d56f48a
replace classic allocation by stack allocation for ReadByte/CopyToAsync
Poppyto a5ca7c8
add missing ConfigureAwait(false) on ReadAsync
Poppyto c40cea4
replace classic allocation by stack allocation for ReadByte/WriteByte
Poppyto 10d9882
Revert "first XOR Linq implemetation"
Poppyto f208335
indent fix
Poppyto 6125271
rollback stackalloc on async methods
Poppyto b3291fc
missing char
Poppyto 74d02fe
fix ConfigureAwait
Poppyto 707fcf3
rollback ReadByte optim (degrade perfs)
Poppyto 4f9d3b4
variablename fix
Poppyto af391ab
missing comment
Poppyto 2af0c8e
rollback Stream allocations
Poppyto 6cc3122
missing arguments
Poppyto ca86d8b
add Write(ReadOnlySpan<byte>) method
Poppyto ba3511e
better initialize Span
Poppyto cad94f5
add CRLF
Poppyto 3a0e121
resolve comments
Poppyto 00544fb
simplification call method Write
Poppyto 6ebec71
Merge branch 'dotnet:main' into streamStackAlloc
Poppyto 2ea5c7c
Update src/libraries/System.Private.DataContractSerialization/src/Sys…
Poppyto 213ab21
remove trailing whitespace
Poppyto a520eef
Update src/libraries/System.Private.DataContractSerialization/src/Sys…
Poppyto ce38130
Update src/libraries/System.Private.DataContractSerialization/src/Sys…
Poppyto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.