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

Add func=None param to functions in cache.py #1056

Open
NimaSarajpoor opened this issue Dec 26, 2024 · 1 comment
Open

Add func=None param to functions in cache.py #1056

NimaSarajpoor opened this issue Dec 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@NimaSarajpoor
Copy link
Collaborator

@seanlaw suggested that it might be a good idea to add func=None to functions in stumpy/cache.py such as cache._enable() and cache._clear(). Adding func could allow enabling/clearing of a single function.

@seanlaw seanlaw added the enhancement New feature or request label Dec 26, 2024
@seanlaw
Copy link
Contributor

seanlaw commented Dec 26, 2024

It is one thing to add the parameter but one needs to check and ensure that the functions are actually being "enabled" for caching and properly "cleared" (and eventually "recompiled" when the cache._recompile() function is added.

It's possible that this may not be worth adding.

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

2 participants