jackmott / LinqFaster

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

any reason you use F postfix?

friuns2 opened this issue · comments

hi, any reason you use F postfix?
would be easier to migrate if methods would be just overriden

Yes, it makes it much easier to use alongside normal Linq, which is often desired. In some cases results wouldn't even be the same if you just swapped in the methods, since Linq is lazily evaluated. For instance a Where().Select() in Linq would need to be translated to WhereSelectF in LinqFaster to maintain the same semantics (and get the best performance)