Question

I just read up on a performance of LINQ, and there is a HUGE amount to be gained by using Compiled LINQ.

Now, why won't I always use compiled LINQ?

Was it helpful?

Solution

Short answer: when it's only going to happen once in a long time.

Long Answer.

OTHER TIPS

You should use it when some linq query is executing most of the time. Those can be converted to compiled lynq. Performance will be improved as execution path of query will be set at compile time. I used it in my project and performance went up a notched.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top