-
-
Notifications
You must be signed in to change notification settings - Fork 447
Open
Labels
ideaIdea for future considerationIdea for future considerationv5Related to version 5.0.0+Related to version 5.0.0+
Description
This has been going around my head for a while, I'm not sure if it's possible, but want to get it written down just in case.
Problem: LINQ expressions come with lambda allocation and contextual type allocation costs, this means their performance isn't as good as writing imperative code.
Possible solution: Use Source Generators to find LINQ expressions that evaluate to known language-ext monadic types. Replace the LINQ expression with an 'unrolled' version that runs imperatively. It won't remove all lambda usage, but would significantly reduce it.
rungwiroon, JackMutobu, WillEhrendreich, glendonjklassen, wakeyourmind and 1 morealoslider and wakeyourmind
Metadata
Metadata
Assignees
Labels
ideaIdea for future considerationIdea for future considerationv5Related to version 5.0.0+Related to version 5.0.0+