A simple .NET benchmark comparing regular array allocation with ArrayPool<T>
to demonstrate how to reduce garbage collector (GC) pressure.
Using BenchmarkDotNet, this project shows how pooled memory can reduce allocations and improve performance in high-throughput scenarios.
dotnet run -c Release