-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Improve performance of Tar library #74281
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 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d52d836
Avoid unnecessary byte[] allocations
stephentoub 1e5020e
Remove unnecessary use of FileStreamOptions
stephentoub 6938c77
Clean up Dispose{Async} implementations
stephentoub 5fa03e9
Clean up unnecessary consts
stephentoub 8dd0ac1
Remove MemoryStream/Encoding.UTF8.GetBytes allocations, unnecessary a…
stephentoub 5be57ad
Avoid string allocations in ReadMagicAttribute
stephentoub ab71e6c
Avoid allocation in WriteAsOctal
stephentoub df2d742
Improve handling of octal
stephentoub c6058bd
Avoid allocation for version string
stephentoub 5756a8c
Removing boxing and char string allocation in GenerateExtendedAttribu…
stephentoub 9539a4a
Fix a couple unnecessary dictionary lookups
stephentoub 74bbc9c
Replace Enum.HasFlag usage
stephentoub 46e0855
Remove allocations from Write{Posix}Name
stephentoub 02ca7da
Replace ArrayPool use with string.Create
stephentoub f9eb99f
Replace more superfluous ArrayPool usage
stephentoub add6179
Remove ArrayPool use from System.IO.Compression.ZipFile
stephentoub 6f8cb75
Fix inverted condition
stephentoub 827a588
Use generic math to parse octal
stephentoub ae21478
Remove allocations from StringReader and string.Split
stephentoub d6b6727
Remove magic string allocation for Ustar when not V7
stephentoub 480af5c
Remove file name and directory name allocation in GenerateExtendedAtt…
stephentoub 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
Use generic math to parse octal
- Loading branch information
commit 827a5882f2bc36b54f7177eaee445b5bbf998ae2
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
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.