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

Improve caching #210

Conversation

mciszczon
Copy link
Collaborator

@mciszczon mciszczon commented Jan 10, 2023

Implemented changes

  • Added caching for multiple functions in dacite/typing.py module.
  • Changed the cache function to have configurable max_size parameter.
  • Added dacite.cache.get_cache_size() and dacite.cache.set_cache_size(size) functions.
  • Added dacite.cache.clear_cache() function.

@mciszczon mciszczon self-assigned this Jan 10, 2023
@mciszczon mciszczon force-pushed the feature/cache-improvement-and-settings branch from b55bdee to 90dca6d Compare January 10, 2023 10:17
@mciszczon mciszczon marked this pull request as ready for review January 10, 2023 10:44
@konradhalas konradhalas merged commit 9bf8fea into konradhalas:master Jan 10, 2023
@mciszczon mciszczon deleted the feature/cache-improvement-and-settings branch January 10, 2023 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants