Persistent cache in Python

Publié le: 01 janvier 1970
sur la chaîne: John Kitchin
572
13

When you have expensive function calls in Python, a natural sounding solution is to use a persistent cache so you run once and then look up the results later. joblib is a standard tool for this, but there are some subtle gotchas and problems with it. I go through some of these, and show what the issues are. To address them, I wrote a little library called hashcache that builds on joblib and fixes some of these issues. You can find the code in pycse (https://github.com/jkitchin/pycse).

See the blog post at https://kitchingroup.cheme.cmu.edu/bl....


Sur cette page du site, vous pouvez voir la vidéo en ligne Persistent cache in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur John Kitchin 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 572 fois et il a aimé 13 téléspectateurs. Bon visionnage!