-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prune cache #199
Prune cache #199
Conversation
Right now just two tags, temporary and permanent One can prune cache by deleting only temporary values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good zero-th order means of pruning the cache.
Instead of thinking about tags as being "keep it or don't", maybe we should think about it as something like what's the slowest access memory space it's allowed to be pushed to. Then some other possible tags are:
Down the road we could conceivably do some of this automatically by timing how long the module took to run and determining if it's worth saving/compressing the data vs. rerunning the module. |
I created an issue #200 to follow up on adding these features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Status
Brief Description
Permanent
(default) andTemporary
but I guess we may add more. Otherwise instead of tags we can just use a bool for temporary values.Detailed Description (Optional)
TODOs and/or Questions