NetFabric.Hyperlinq
StructLinq
Our great sponsors
NetFabric.Hyperlinq | StructLinq | |
---|---|---|
4 | 2 | |
861 | 292 | |
0.5% | - | |
0.0 | 6.6 | |
2 months ago | 3 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NetFabric.Hyperlinq
-
Classes vs. Structs in .NET. How not to teach about performance
> AVX instructions, which is implemented for quite a few LINQ methods
Are you sure? Any examples of such methods? And does AVX actually helps?
I don’t think that’s possible because IMO AVX and other SIMD can only help for dense inputs. The C# type is ReadOnlySpan, however ReadOnlySpan doesn’t implement IEnumerable and therefore incompatible with LINQ.
There’s even an alternative LINQ to workaround https://github.com/NetFabric/NetFabric.Hyperlinq but that thing is a third-party library most people aren’t using.
- Like Regular LINQ, but Faster and Without Allocations: Is It Possible?
-
700,000 lines of code, 20 years, and one developer: How Dwarf Fortress is built
I know it C# it doesn't have to make heap allocations, here's a Linq-clone that mostly eliminates them: https://github.com/NetFabric/NetFabric.Hyperlinq
-
Array iteration performance in C# — Branching and Parallelization
I'm the developer of one of the libraries and you may find in the benchmarks that it performs better than most others.
StructLinq
-
Zero allocation Linq with Source generator
I've got a lot of help from Jon Skeet's Edulinq series while implementing this. I'd recommend the series if anyone haven't seen. Also trying to absorb many optimizations from other Linq implementations like StructLinq.
- Like Regular LINQ, but Faster and Without Allocations: Is It Possible?
What are some alternatives?
MoreLINQ - Extensions to LINQ to Objects
LinqAF - Low allocation re-implementation of LINQ-to-Objects
ksqlDB.RestApi.Client-DotNet - ksqlDb.RestApi.Client is a C# LINQ-enabled client API for issuing and consuming ksqlDB push and pull queries and executing statements.
LINQ to Twitter - LINQ Provider for the Twitter API (C# Twitter Library)
LinqBenchmarks - Benchmarking LINQ and alternative implementations
LinqGen - Alloc-free and fast replacement for Linq, with code generation
MicroBenchmarksDotNet - C# Benchmarks for a better understanding of performance cost
HonkPerf.NET
CIDLib - The CIDLib general purpose C++ development environment
CQC - CQC (Charmed Quark Controller) a commercial grade, full featured, software based automation system. CQC is built on our CIDLib C++ development system, which is also available here on GitHub.
MoreAsyncLINQ - Additional async LINQ to objects operators for IAsyncEnumerable<T>
ShopifySharp - ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.