NuGet Package Windows Community Toolkit High Performance .NET Standard

This package includes high performance .NET Standard helpers such as:
- Memory2D and Span2D: two types providing fast and allocation-free abstraction over 2D memory areas.
- ArrayPoolBufferWriter: an IBufferWriter implementation using pooled arrays, which also supports IMemoryOwner.
- MemoryBufferWriter: an IBufferWriter: implementation that can wrap external Memory: instances.
- MemoryOwner: an IMemoryOwner implementation with an embedded length and a fast Span accessor.
- SpanOwner: a stack-only type with the ability to rent a buffer of a specified length and getting a Span 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, Span extensions and more, all focused on high performance.
- HashCode: 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: a type mapping boxed value types and exposing some utility and high performance methods.
- Ref: a stack-only struct that can store a reference to a value of a specified type.
- NullableRef: a stack-only struct similar to Ref, which also supports nullable references.


Version: 7.0.0-preview4
Author(s): Microsoft.Toolkit
Last Update: Thursday, November 12, 2020
.NET Fiddle: Create the first Fiddle
Project Url:
NuGet Url:

Install-Package Microsoft.Toolkit.HighPerformance
dotnet add package Microsoft.Toolkit.HighPerformance
paket add Microsoft.Toolkit.HighPerformance
Microsoft.Toolkit.HighPerformance Download (Unzip the "nupkg" after downloading)