Hacker GitHub

← All repos

jackmott/LinqFaster

View on GitHub ↗ ★ 762 C#

Linq-like extension functions for Arrays, Span<T>, and List<T> that are faster and allocate less.

7 mentions on Hacker News by 4 people: 0 stories, 7 comments · first 2017-04-24 · latest 2020-01-29

Mentions per year 7 mentions · busiest year 2020 (3)
20082026
  1. So I have some benchmarks in this repo showing some comparisons: https://github.com/jackmott/LinqFaster While those can look really bad - orders of magnitude slower! Keep in mind with things like Where/Select, its a fixed amount of…
  2. …common operations in a fairly worst case scenario (where the work done in each iteration is small) https://github.com/jackmott/LinqFaster It would just be nice if C# reliably compiled this abstraction down to efficient code, the way C++,…
  3. Try LinqFaster which uses different techniques for better performance and less allocations: https://github.com/jackmott/LinqFaster
  4. That is orders of magnitude slower and allocates. Of course you can use: https://github.com/jackmott/LinqFaster
  5. …library that lets you use Linq style convenience functions without a performance hit in many cases: https://github.com/jackmott/LinqFaster
    comment by gameswithgo · 2019-01-15 · in Performance Tuning for .NET Core
  6. …and you have to start over from scratch. > What if Linq-like higher order functions weren't slow? https://github.com/jackmott/LinqFaster https://github.com/jackmott/LinqFaster#limitations > What if slow software was common today because of…
  7. …wouldn't seem "unreadable" to you any more? What if Linq-like higher order functions weren't slow? https://github.com/jackmott/LinqFaster What if slow software was common today because of modern attitudes, and I wasn't seeing any increase…