Skip to content
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

Implement bounded caches e.g. LRU or TTL #73

Open
camsaul opened this issue Jun 16, 2021 · 0 comments
Open

Implement bounded caches e.g. LRU or TTL #73

camsaul opened this issue Jun 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@camsaul
Copy link
Owner

camsaul commented Jun 16, 2021

Like vanilla Clojure multimethods, Methodical multimethods assume dispatch values are bounded. There are some cases where this might not be desirable, e.g. if they're random numbers or something like that. See https://ask.clojure.org/index.php/10532/memory-leak-using-the-default-method-of-a-multimethod for more context.

Not sure what the actual use case for these would be but it seems like it would be good to support another use case that vanilla multimethods don't.

@camsaul camsaul added the enhancement New feature or request label Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant