Microsoft.Toolkit.HighPerformance 7.1.2

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


Additional Details

The HighPerformance package has now migrated to the CommunityToolkit.HighPerformance identity

dotnet add package Microsoft.Toolkit.HighPerformance --version 7.1.2
NuGet\Install-Package Microsoft.Toolkit.HighPerformance -Version 7.1.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="7.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Toolkit.HighPerformance --version 7.1.2
#r "nuget: Microsoft.Toolkit.HighPerformance, 7.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=7.1.2

// Install Microsoft.Toolkit.HighPerformance as a Cake Tool
#tool nuget:?package=Microsoft.Toolkit.HighPerformance&version=7.1.2

This package includes high performance .NET Standard 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 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 (40)

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 (12)

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!
B站弹幕姬 - B站直播彈幕工具
An automated Modlist installer for various games.
Version Downloads Last updated
7.1.2 1,793,987 11/18/2021
7.1.1 92,280 10/19/2021
7.1.0 39,927 9/23/2021
7.1.0-rc2 213 9/17/2021
7.1.0-rc1 2,004 8/30/2021
7.1.0-preview1 221 8/5/2021
7.0.2 447,552 5/12/2021
7.0.1 124,157 3/29/2021
7.0.0 33,044 3/11/2021
7.0.0-preview5 2,003 2/24/2021
7.0.0-preview4 8,482 11/12/2020
7.0.0-preview3 407 10/7/2020
7.0.0-preview2 646 8/11/2020
6.1.1 65,402 8/12/2020
6.1.0 1,090 6/15/2020
6.1.0-rc1 352 6/8/2020
6.1.0-preview1.2 349 5/19/2020