Linq: Evaluation of closures can be done more efficiently

Description

While researching for I've found that there are some low hanging fruit that can be addressed in the short term for the performance of the Linq component before considering caching, the most significant being using Expression.Lambda(node).Compile().DynamicInvoke() to evaluate closures (wrapped constant expressions).

The solution would be to use the FieldInfo or PropertyInfo to get the value:

Environment

None
Done

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Labels

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Epic Link

None

Sprint

None

Pull Requests

None

Size

None

Components

Priority

Major