CommunityToolkit.HighPerformance 8.0.0

.NET 6.0 .NET Core 3.1 .NET Standard 2.0
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.HighPerformance --version 8.0.0
NuGet\Install-Package CommunityToolkit.HighPerformance -Version 8.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommunityToolkit.HighPerformance --version 8.0.0
#r "nuget: CommunityToolkit.HighPerformance, 8.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommunityToolkit.HighPerformance as a Cake Addin
#addin nuget:?package=CommunityToolkit.HighPerformance&version=8.0.0

// Install CommunityToolkit.HighPerformance as a Cake Tool
#tool nuget:?package=CommunityToolkit.HighPerformance&version=8.0.0

This package includes high performance .NET helpers such as:
     - Memory2D<T> and Span2D<T>: two types providing fast and allocation-free abstraction over 2D memory areas.
     - ArrayPoolBufferWriter<T>: an IBufferWriter<T> implementation using pooled arrays, which also supports IMemoryOwner<T>.
     - MemoryBufferWriter<T>: an IBufferWriter<T>: implementation that can wrap external Memory<T>: instances.
     - MemoryOwner<T>: an IMemoryOwner<T> implementation with an embedded length and a fast Span<T> accessor.
     - SpanOwner<T>: a stack-only type with the ability to rent a buffer of a specified length and getting a Span<T> from it.
     - StringPool: a configurable pool for string instances that be used to minimize allocations when creating multiple strings from char buffers.
     - String, array, Memory<T>, Span<T> extensions and more, all focused on high performance.
     - HashCode<T>: a SIMD-enabled extension of HashCode to quickly process sequences of values.
     - BitHelper: a class with helper methods to perform bit operations on numeric types.
     - ParallelHelper: helpers to work with parallel code in a highly optimized manner.
     - Box<T>: a type mapping boxed value types and exposing some utility and high performance methods.
     - Ref<T>: a stack-only struct that can store a reference to a value of a specified type.
     - NullableRef<T>: a stack-only struct similar to Ref<T>, which also supports nullable references.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (26)

Showing the top 5 NuGet packages that depend on CommunityToolkit.HighPerformance:

Package Downloads

CK.Core contains types and helpers that are used across different projects. Main types are: - NormalizedPath: Normalizes / and \ separators to /, exposes Parts and handle multiple kind of roots: / (RootedBySeparator), 'X:' or ':' (RootedByFirstPart), '//' (RootedByDoubleSeparator), or 'xx://' (RootedByURIScheme). - CKTrait: Thread safe set of (immutable) string tags that support all set operations. - DateTimeStamp: Simple DateTime with byte uniquifier. - SimpleServiceContainer: Basic IServiceProvider implementation. - HashStream and SHA1Value, SHA256Value and SHA512Value. - ISystemClock and SystemClock default implementation. - Completable & Completion: Are "futures" or "yet another promises" (based on Task/TaskCompletionSource). Offer Covariance of the completion result and optional extension points to map errors (exceptions or cancellation) to regular results. - CKBinaryReader/Writer: extend IBinaryReader/Writer with nullable support, more read/write of standard types and optional value sharing.


Package Description


MSLA/DLP, file analysis, calibration, repair, conversion and manipulation


Package Description



GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on CommunityToolkit.HighPerformance:

Repository Stars
A .NET library to run C# code in parallel on the GPU through DX12, D2D1 and dynamically generated HLSL compute shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
Wow. Yet another Pixiv client!
MSLA/DLP, file analysis, calibration, repair, conversion and manipulation
SECS-II/HSMS-SS/GEM implementation on .NET
The main repository for all the Code Maze guides
Version Downloads Last updated
8.1.0-preview1 1,346 11/2/2022
8.0.0 60,599 8/4/2022
8.0.0-preview4 1,537 6/7/2022
8.0.0-preview3 549 4/7/2022
8.0.0-preview2 118 3/10/2022
8.0.0-preview1 2,010 1/25/2022
7.1.2 34,482 11/18/2021
7.1.1-preview3.1 140 11/9/2021
7.1.1-preview3 149 10/29/2021
7.0.3 3,121 6/25/2021
7.0.2 286 5/12/2021
7.0.1 319 4/1/2021