Microsoft.Toolkit.HighPerformance 6.1.0-preview1.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Core 2.1 .NET Standard 1.4
Suggested Alternatives


Additional Details

The HighPerformance has now migrated to the CommunityToolkit.HighPerformance package

This is a prerelease version of Microsoft.Toolkit.HighPerformance.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Toolkit.HighPerformance --version 6.1.0-preview1.2
NuGet\Install-Package Microsoft.Toolkit.HighPerformance -Version 6.1.0-preview1.2
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="Microsoft.Toolkit.HighPerformance" Version="6.1.0-preview1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Toolkit.HighPerformance --version 6.1.0-preview1.2
#r "nuget: Microsoft.Toolkit.HighPerformance, 6.1.0-preview1.2"
#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 Microsoft.Toolkit.HighPerformance as a Cake Addin
#addin nuget:?package=Microsoft.Toolkit.HighPerformance&version=6.1.0-preview1.2&prerelease

// Install Microsoft.Toolkit.HighPerformance as a Cake Tool
#tool nuget:?package=Microsoft.Toolkit.HighPerformance&version=6.1.0-preview1.2&prerelease

This package includes high performance .NET Standard helpers such as:
     - 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.
     - String, array, Span<T>, Memory<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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
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 (39)

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

Package Downloads

Stl ("ServiceTitan Library") is a collection of relatively small abstractions or methods we couldn't find in BCL. A part of Stl.Fusion.


A NetStandard DICOM library. Version 5 has some breaking changes to version 4. Read here for more information how to migrate:


Package Description


Package Description


BCnEncoder.NET is a library for compressing rgba images to different block-compressed formats. Both ktx and dds output file-formats are supported. It has no native dependencies and is .NET Standard 2.1 compatible. Supported formats are: Raw unsigned byte R, RG, RGB and RGBA formats BC1 (S3TC DXT1) BC2 (S3TC DXT3) BC3 (S3TC DXT5) BC4 (RGTC1) BC5 (RGTC2) BC6 (BPTC-FLOAT) BC7 (BPTC)

GitHub repositories (13)

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

Repository Stars
rhythm is just a *click* away!
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
Build real-time apps (Blazor included) with less than 1% of extra code responsible for real-time updates. Host 10-1000x faster APIs relying on transparent and nearly 100% consistent caching. We call it DREAM, or Distributed REActive Memoization, and it's here to turn real-time on!
Fellow Oak DICOM for .NET, .NET Core, Universal Windows, Android, iOS, Mono and Unity
B站弹幕姬 - B站直播彈幕工具
Version Downloads Last updated
7.1.2 1,442,975 11/18/2021
7.1.1 88,611 10/19/2021
7.1.0 36,265 9/23/2021
7.1.0-rc2 199 9/17/2021
7.1.0-rc1 1,993 8/30/2021
7.1.0-preview1 209 8/5/2021
7.0.2 409,692 5/12/2021
7.0.1 117,337 3/29/2021
7.0.0 32,727 3/11/2021
7.0.0-preview5 1,991 2/24/2021
7.0.0-preview4 8,430 11/12/2020
7.0.0-preview3 394 10/7/2020
7.0.0-preview2 539 8/11/2020
6.1.1 64,739 8/12/2020
6.1.0 886 6/15/2020
6.1.0-rc1 336 6/8/2020
6.1.0-preview1.2 336 5/19/2020