Persistent cache in Python

Опубликовано: 01 Январь 1970
на канале: 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....


На этой странице сайта вы можете посмотреть видео онлайн Persistent cache in Python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь John Kitchin 01 Январь 1970, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 572 раз и оно понравилось 13 зрителям. Приятного просмотра!