Microsoft.Toolkit.HighPerformance 7.1.2

.NET 5.0 .NET Core 2.1 .NET Standard 1.4
Suggested Alternatives

CommunityToolkit.HighPerformance

Additional Details

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

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.
dotnet add package Microsoft.Toolkit.HighPerformance --version 7.1.2
<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, 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=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
.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
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 (43)

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

Package Downloads
fo-dicom

A NetStandard DICOM library. Version 5 has some breaking changes to version 4. Read here for more information how to migrate: https://github.com/fo-dicom/fo-dicom/wiki/Upgrade-from-version-4-to-version-5

Cronus

Cronus is a lightweight framework for building event driven systems with DDD/CQRS in mind.

Stl

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

ppy.osu.Game

Package Description

M5x.DEC.Schema

Package Description

GitHub repositories (12)

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

Repository Stars
ppy/osu
rhythm is just a *click* away!
gitextensions/gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
Pixeval/Pixeval
Wow. Yet another Pixiv client!
servicetitan/Stl.Fusion
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!
fo-dicom/fo-dicom
Fellow Oak DICOM for .NET, .NET Core, Universal Windows, Android, iOS, Mono and Unity
Version Downloads Last updated
7.1.2 548,484 11/18/2021
7.1.1 60,899 10/19/2021
7.1.0 28,209 9/23/2021
7.1.0-rc2 181 9/17/2021
7.1.0-rc1 1,977 8/30/2021
7.1.0-preview1 193 8/5/2021
7.0.2 332,646 5/12/2021
7.0.1 103,067 3/29/2021
7.0.0 31,489 3/11/2021
7.0.0-preview5 1,974 2/24/2021
7.0.0-preview4 7,733 11/12/2020
7.0.0-preview3 373 10/7/2020
7.0.0-preview2 366 8/11/2020
6.1.1 60,735 8/12/2020
6.1.0 650 6/15/2020
6.1.0-rc1 318 6/8/2020
6.1.0-preview1.2 319 5/19/2020