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

Rework and simplify lrucache package #10

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

vasayxtx
Copy link
Member

@vasayxtx vasayxtx commented Sep 3, 2024

This PR refactors the in-memory LRU cache implementation to store different object types in separate cache instances instead of a single shared instance. This approach simplifies cache management, allows for individual cache size limits, and improves the usability of the cache interface.

This change is a breaking change. However, given the library’s current limited usage, we have decided not to bump the major version at this time.

@vasayxtx vasayxtx requested a review from MikeYast as a code owner September 3, 2024 20:11
@vasayxtx vasayxtx force-pushed the simplify-lrucache branch 2 times, most recently from e0ba8a8 to 49c4d26 Compare September 4, 2024 09:04
@MikeYast MikeYast merged commit 92089b2 into acronis:master Sep 5, 2024
5 checks passed
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.

3 participants