ipycache icon indicating copy to clipboard operation
ipycache copied to clipboard

Caching a whole notebook

Open Phyks opened this issue 9 years ago • 1 comments

Hi,

What about enabling caching of a whole notebook? With special magic, all the cells would be automatically cached and the user would not have to think about it in each cell. This could be especially useful as we may not be aware in advance of the time a calculation will take.

I think this could be some magic on top of https://github.com/rossant/ipycache/issues/13.

P.S.: Another approach, if you do not want to implement a global caching, would be to check calculation time for each cell, and if it exceeds a given threshold, to automatically cache the cell. However, I am not sure iPython provides this info.

Phyks avatar Feb 16 '16 09:02 Phyks

This would be indeed a very useful feature for those of us that work on a daily basis on notebooks requiring heavy computations.

IamGianluca avatar Jan 02 '18 22:01 IamGianluca