Memoizer with optional persistence to disk
Project description
Yet another memoizer. I have been using this for a long time. It is simple but useful. Features:
Optional persistence to disk, using pickle to save the cache on exit.
Configurable cache size. When it is reached a FIFO strategy is used to discard old entries.
Stats tracking. Allows to see if memoization is useful for a certain function call.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pmemoize-1.0.tar.gz
(1.8 kB
view details)
File details
Details for the file pmemoize-1.0.tar.gz
.
File metadata
- Download URL: pmemoize-1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac73d9bf2cf317103a7f621219b017905efc3be37ece74f026059a070c674ca |
|
MD5 | c1e9ae6e84af8f38a13b28db6d5e5b58 |
|
BLAKE2b-256 | 2ac92ca10af76b95c660bcab8b02bd640cd6e7c1fef0375a96eeea64cb82e481 |