Comment Comment by khaledh I was going to mention this as well. It's fairly similar: memory = joblib.memory.Memory(...) @memory.cache def slow_func(...): ... parent khaledh 2 years ago