Microsoft.Toolkit.HighPerformance
7.1.2
Prefix Reserved
CommunityToolkit.HighPerformance
Additional DetailsThe 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
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
<PackageVersion Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
<PackageReference Include="Microsoft.Toolkit.HighPerformance" />
paket add Microsoft.Toolkit.HighPerformance --version 7.1.2
#r "nuget: Microsoft.Toolkit.HighPerformance, 7.1.2"
#:package Microsoft.Toolkit.HighPerformance@7.1.2
#addin nuget:?package=Microsoft.Toolkit.HighPerformance&version=7.1.2
#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 Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard1.4 is compatible. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
| Universal Windows Platform | uap was computed. uap10.0 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
-
.NETCoreApp 3.1
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
-
.NETStandard 1.4
- NETStandard.Library (>= 1.6.1)
- System.Diagnostics.Contracts (>= 4.3.0)
- System.Drawing.Primitives (>= 4.3.0)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.Threading.Tasks.Parallel (>= 4.3.0)
-
.NETStandard 2.0
- Microsoft.Bcl.HashCode (>= 1.1.0)
- System.Memory (>= 4.5.4)
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)