Closed Aeilert closed 2 weeks ago
This is actually quite easy to implement with the bindCache()
function. It could be added to the main reactive objects for the dea model and the bootstrapped model. I will look into this as soon as #82 is merged and make it ready for the 0.4.0 release. It can have a huge benefit for bootstrapped models, even on mid sized data sets.
I don't think performance is a big issue with the app, since most datasets are small and calculations are relatively fast, but it struck me that a further benefit of #80 together with #87 is that it would be easy to add in-session caching for some of the workhorse functions. This is particular relevant for large datasets (like Hospitals), bootstrapping and possibly some advanced productivity cases. By caching functions like
compute_efficiency()
andprocess_boot()
we could speed up these calculations substantially.I don't think this is something for planned releases (0.4.0 / 0.5.0), but maybe something to consider for later releases.
cc: @ohjakobsen