jeudi 12 septembre 2019

Caching intermediate results (Is there a name for this problem/pattern?)

I have raw data A, which goes through several stages of transformation A -> B -> C, and I ultimately want the final results C. But each transformation takes a long time to compute, so I want to save intermediary results, meaning that if C isn't cached, I will check if B is saved somewhere so I can start the computation there, and if not, then I'll start from A. Is there an existing pattern with a name for this kind of dependency checking?

Aucun commentaire:

Enregistrer un commentaire