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 API to explicitly control LRUness of keys #152

Merged
merged 1 commit into from Sep 11, 2022

Commits on Sep 6, 2022

  1. Add API to directly manipulate LRU order

    `promote` is mostly just `get`. `demote` is new, and wasn't expressible
    before: it allows the caller to hint that the value likely won't be used
    in the future.
    matklad committed Sep 6, 2022
    Copy the full SHA
    ad3adcc View commit details
    Browse the repository at this point in the history