Microsoft.Toolkit.HighPerformance
7.1.2
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" />
paket add Microsoft.Toolkit.HighPerformance --version 7.1.2
#r "nuget: Microsoft.Toolkit.HighPerformance, 7.1.2"
// 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 |
-
.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)
-
.NETStandard 2.1
- System.Runtime.CompilerServices.Unsafe (>= 5.0.0)
-
net5.0
- No dependencies.
NuGet packages (40)
Showing the top 5 NuGet packages that depend on Microsoft.Toolkit.HighPerformance:
Package | Downloads |
---|---|
Stl
Stl ("ServiceTitan Library") is a collection of relatively small abstractions or methods we couldn't find in BCL. A part of Stl.Fusion. |
|
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 |
|
ppy.osu.Game
Package Description |
|
M5x.DEC.Schema
Package Description |
|
BCnEncoder.Net
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 |
---|---|
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).
|
|
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!
|
|
copyliu/bililive_dm
B站弹幕姬 - B站直播彈幕工具
|
|
wabbajack-tools/wabbajack
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 |