Dynamically Compiled Expressions
Caching dynamically compiled expressions in RCommon
Last updated
Caching dynamically compiled expressions in RCommon
Last updated
RCommon utilizes dynamically compiled expressions in many areas of CQRS implementations as well as persistence. The inherent overhead associated with reflection used in compiling those expressions is fairly substantial. While this is not an uncommon problem, it can be easily mitigated with caching.
Note the use of "cache.CacheDynamicallyCompiledExpressions" statement below