Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy Eval #14

Open
jeb2239 opened this issue Sep 9, 2015 · 3 comments
Open

Lazy Eval #14

jeb2239 opened this issue Sep 9, 2015 · 3 comments

Comments

@jeb2239
Copy link
Owner

jeb2239 commented Sep 9, 2015

This is pretty important.

@kevin1
Copy link
Collaborator

kevin1 commented Sep 9, 2015

Context: Microsoft's LINQ implementation doesn't evaluate queries until you try to enumerate the result. This allows them to do query optimization. For example,

myList.Where(firstPredicate).Where(secondPredicate)

can be optimized by combining the two calls to Where() so that myList only has to be enumerated once.

@Gargony
Copy link

Gargony commented May 20, 2021

@kevin1

Context: Microsoft's LINQ implementation doesn't evaluate queries until you try to enumerate the result. This allows them to do query optimization. For example,

myList.Where(firstPredicate).Where(secondPredicate)

can be optimized by combining the two calls to Where() so that myList only has to be enumerated once.

I'm did lazy eval https://github.com/DevUtilsNet/linqcpp

@kevin1
Copy link
Collaborator

kevin1 commented May 21, 2021

Wow, this repo is super cool! Thanks for sharing 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants