PerfCopy 1.2.0
See the version list below for details.
dotnet add package PerfCopy --version 1.2.0
NuGet\Install-Package PerfCopy -Version 1.2.0
<PackageReference Include="PerfCopy" Version="1.2.0" />
paket add PerfCopy --version 1.2.0
#r "nuget: PerfCopy, 1.2.0"
// Install PerfCopy as a Cake Addin #addin nuget:?package=PerfCopy&version=1.2.0 // Install PerfCopy as a Cake Tool #tool nuget:?package=PerfCopy&version=1.2.0
Extension methods providing high performance deep copy capability for of arrays of common value types - currently: byte, char, short, int, long, and their unsigned brethren where applicable.
Considerably faster than Array.Copy - and it's also faster than Buffer.BlockCopy in most situations!
High-performance enabled through use of optimised 'unsafe' blocks.
This package could be a good addition to other packages if you're building in copying of some kind that would benefit from being fast.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added additional methods to some types to harmonise them. Now all types have equivalent functionality.
Exposed a performance copying method, for those who might want to use it (running with scissors warning applies: method uses 'unsafe' techniques with pointer-arithmetic, so bad things can happen if one is careless. You have been duly warned!)