Skip to content

Caching

Coding Seb edited this page May 28, 2019 · 1 revision

As ExpressionEvaluator do not compile anything and a lot of reflection is used to evaluated things. Multiple evaluations can be slow. Here is a way to speed up a little multi-evaluation.

CacheTypesResolutions

Type : Boolean
Default value : true

When true : Use a cache for types that were resolved to resolve faster next time.

When false : The cache of types resolution is not use for this instance of ExpressionEvaluator.

Remark : The cache is the static Dictionary TypesResolutionCaching (so it is shared by all instances of ExpressionEvaluator that have CacheTypesResolutions enabled)

Table Of Content

Clone this wiki locally