CommunityToolkit.HighPerformance 8.4.0

This package includes high performance .NET 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.

No packages depend on CommunityToolkit.HighPerformance.

.NET 7.0

  • No dependencies.

.NET 8.0

  • No dependencies.

.NET Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
8.4.0 0 12/12/2024
8.4.0-preview3 0 11/27/2024
8.4.0-preview2 1 04/16/2025
8.4.0-preview1 0 10/30/2024
8.3.2 0 09/18/2024
8.3.1 1 04/16/2025
8.3.0 1 04/16/2025
8.2.2 1 04/16/2025
8.2.1 1 04/16/2025
8.2.0 0 04/27/2023
8.2.0-preview2 0 03/27/2023
8.2.0-preview1 1 04/16/2025
8.1.0 0 01/18/2023
8.1.0-preview3 0 12/26/2022
8.1.0-preview2 0 12/13/2022
8.1.0-preview1 0 11/02/2022
8.0.0 0 08/04/2022
8.0.0-preview4 0 06/07/2022
8.0.0-preview3 0 04/07/2022
8.0.0-preview2 1 04/16/2025
8.0.0-preview1 0 01/25/2022
7.1.2 1 04/16/2025
7.1.1-preview3.1 0 11/09/2021
7.1.1-preview3 0 10/29/2021
7.0.3 0 06/25/2021
7.0.2 0 05/12/2021
7.0.1 0 04/01/2021