Blog Logo
TAGS

SimdLinq - Extremely Fast LINQ Aggregation Operations with SIMD

SimdLinq is a drop-in replacement for LINQ Sum, Average, Min, and Max operations that use SIMD to provide significantly faster performance. This library supports various data types, including byte, short, int, long, float, and double, and multiple collection types such as T[], List, Span, and ReadOnlySpan. SimdLinq uses overload resolution priority to automatically determine the SIMD-eligible method, enabling SIMD optimization with just one reference to the library. Read the documentation to learn more about the differences in performance and compatibility compared to LINQ and see code examples for accelerating methods like SequenceEqual, Contain, and MinMax.