Memory allocation strategies, Span<T>, and performance optimisation techniques for .NET.
High-Performance .NET
Optimising .NET code: Introduction
Explore techniques to boost .NET performance & memory efficiency, identify allocation sources, and optimize data handling.
Optimising .NET code: Hunting for allocations
Explore basic techniques for benchmarking and identifying allocation sources in code.
Optimising .NET code: Let's blame LINQ
Investigate the impact of basic LINQ functions on performance and memory allocation.
Optimising .NET code: Avoiding allocations using Span<T>
Investigate some ways of working with strings that prevent unnecessary memory allocations.
Increasing performance via low memory allocation in C#
Explore techniques for high-performance, low-allocation code in Azure Functions using C#, including data streaming, list preallocation, and Span<T>.
ArrayPool vs MemoryPool—minimizing allocations in AIS.NET
Tracking down unexpected allocations in a high-performance .NET parsing library.