This commit drastically improves speed for large excels with many ranges of the style 1:1 or A:A.
It implements caching of some functions that are very frequently called but are actually quite expensive. An example is find_corresponding_index. When the inputs are the same (the value list) and the criterion is the same, logically it should return the same value.
The overhead of this caching is almost, but it can have a huge positive effect. For one of my larger test files, the calculation time went from 30s to less than 3s.
This commit drastically improves speed for large excels with many ranges of the style 1:1 or A:A.
It implements caching of some functions that are very frequently called but are actually quite expensive. An example is find_corresponding_index. When the inputs are the same (the value list) and the criterion is the same, logically it should return the same value.
The overhead of this caching is almost, but it can have a huge positive effect. For one of my larger test files, the calculation time went from 30s to less than 3s.