NetFabric.Hyperlinq
LinqBenchmarks
Our great sponsors
NetFabric.Hyperlinq | LinqBenchmarks | |
---|---|---|
4 | 5 | |
861 | 170 | |
0.5% | 1.2% | |
0.0 | 6.6 | |
2 months ago | 2 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.
LinqBenchmarks
- LinQ performance improvements in Dotnet 8!
-
C# LINQ Exploring
If you are interested in benchmarks with different librarys and approaches then go here: https://github.com/NetFabric/LinqBenchmarks
- Benchmarking LINQ and alternative implementations
- LinqBenchmarks: Benchmarking LINQ and alternative implementations
-
Array iteration performance in C# — Branching and Parallelization
I also invite you to visit a project where I benchmark all LINQ-to-objects libraries that I know. Yes, I benchmark them against 'for' loops with no lambdas. I'm well aware that they are usually much faster.
What are some alternatives?
MoreLINQ - Extensions to 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.
Exceptionless.DateTimeExtensions - DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
StructLinq - Implementation in C# of LINQ concept with struct
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
MicroBenchmarksDotNet - C# Benchmarks for a better understanding of performance cost
LINQ to Twitter - LINQ Provider for the Twitter API (C# Twitter Library)
CIDLib - The CIDLib general purpose C++ development environment
LINQ to DB - Linq to database provider.
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.
NHibernate - NHibernate Object Relational Mapper