We need to assess whether introducing a cache in front of the expression evaluation logic is desirable or not. If it is, we should add such a cache.
We need to determine whether the overhead of maintaining a cache is worth it. Expressions usually tend to be pretty short, so perhaps caching wouldn't bring us much.
We need to assess whether introducing a cache in front of the expression evaluation logic is desirable or not. If it is, we should add such a cache.
We need to determine whether the overhead of maintaining a cache is worth it. Expressions usually tend to be pretty short, so perhaps caching wouldn't bring us much.