Benchmarking Your Way to the Bottom — Iterating Lists

1 · Stephen Walsh · March 21, 2022, 7:58 a.m.
Benchmarking Your Way to the Bottom — Iterating ListsWhat’s the fastest way to iterate Lists in C#? Using BenchmarkDotNet to test list iteration in .NET to find the most performant List iterator.BenchmarkDotNet — A Powerful .NET library for benchmarkingRecently I have been looking at how to make an older system perform better. Specifically small refactoring that can add up to make a bigger difference overall.In doing this work it has peaked my interest as to which is the best way of doing someth...