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 entry_count and weighted_size methods to all cache implementations #137

Merged
merged 1 commit into from
May 25, 2022

Conversation

tatsuya6502
Copy link
Member

@tatsuya6502 tatsuya6502 commented May 25, 2022

Add basic cache stats (entry_count and weighted_size) methods to all cache implementations.

Note that these methods will return estimated numbers. Please see the API doc (rustdoc) for more details and how to mitigate the inaccuracy.

@tatsuya6502 tatsuya6502 self-assigned this May 25, 2022
@tatsuya6502 tatsuya6502 added the enhancement New feature or request label May 25, 2022
@tatsuya6502 tatsuya6502 added this to the v0.8.5 milestone May 25, 2022
Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging.

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

Successfully merging this pull request may close these issues.

1 participant