Benchmarking LINQ and alternative implementations
Benchmarks comparing the performance of LINQ against for
/foreach
loops and the following libraries:
NOTE: Removed LinqOptimizer and Streams from the benchmarks as they are slower than LINQ on every benchmark.
Range()
IEnumerable<int>
IEnumerable<FatReferenceType>
int[]
FatValueType[]
List<int>
List<FatValueType>
ImmutableArray<int>