mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #495] [MERGED] Use functions from System.Memory instead of selfmade ones #1053
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/495
Author: @Bond-009
Created: 12/29/2019
Status: ✅ Merged
Merged: 12/30/2019
Merged by: @adamhathcock
Base:
master← Head:memory📝 Commits (2)
485b24dUse functions from System.Memory instead of selfmade ones9ea61a8Update SharpCompress.Test.csproj📊 Changes
15 files changed (+58 additions, -147 deletions)
View changed files
📝
src/SharpCompress/Archives/AbstractArchive.cs(+6 -6)📝
src/SharpCompress/Archives/AbstractWritableArchive.cs(+1 -1)📝
src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs(+2 -3)📝
src/SharpCompress/Compressors/PPMd/H/ModelPPM.cs(+3 -3)📝
src/SharpCompress/Compressors/PPMd/H/SubAllocator.cs(+3 -3)📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack.cs(+9 -9)📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack15.cs(+6 -6)📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack20.cs(+4 -4)📝
src/SharpCompress/Compressors/Rar/UnpackV1/UnpackUtility.cs(+4 -5)📝
src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.unpack50_cpp.cs(+6 -6)📝
src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.unpack_cpp.cs(+3 -3)📝
src/SharpCompress/Compressors/Rar/VM/RarVM.cs(+3 -3)📝
src/SharpCompress/LazyReadOnlyCollection.cs(+1 -1)📝
src/SharpCompress/SharpCompress.csproj(+2 -1)📝
src/SharpCompress/Utility.cs(+5 -93)📄 Description
Replaces multiple helper functions to fill arrays with
Span.Fillcalls.Also improved the performance of the
Utility.SetSizefunction (and replaced 1 instance)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.