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

Memoise expand_model_out_vals_grid #85

Open
annakrystalli opened this issue Jun 3, 2024 · 0 comments
Open

Memoise expand_model_out_vals_grid #85

annakrystalli opened this issue Jun 3, 2024 · 0 comments
Labels
feature a feature request or enhancement performance

Comments

@annakrystalli
Copy link
Member

As config files become more complex, this function becomes more computationally expensive.

Because this function effectively evaluates to the same output everytime for a given hub (unless of course the config changes), it's a good candidate for memoisation, especially for use in a function to validate many files in a hub (#83 )

If implemented, a note in the docs should also be included to alert users that if they make changes to the config in between calls they should refresh their session to clear the cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement performance
Projects
Status: Wishlist
Development

No branches or pull requests

1 participant