Eager evaluator should memoize intermediate results
Open
DT[i,j,...]
performance
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 164
- Avg merge
- 7h 31m
- Merged PRs (30d)
- 1
Description
Sometimes calculated expressions may compute the same column or subexpression multiple times. For example, in `{"sum": f.A + f.B, "dif": f.A - f.B}` each of the columns `A` and `B` is extracted from the source Frame and materialized twice, even though we could have remembered the result on the first run. A similar mechanism is already used for llvm evaluator, so this should be relatively easy to implement.
Contributor guide
Assessment
This issue has not been assessed yet.