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

Feature: implement the api to resize lru #46

Open
sysulq opened this issue Dec 22, 2020 · 0 comments
Open

Feature: implement the api to resize lru #46

sysulq opened this issue Dec 22, 2020 · 0 comments

Comments

@sysulq
Copy link
Contributor

sysulq commented Dec 22, 2020

What about implement a resize api to support adjust the size of lru dynamically?

like

local c = lrucache.new(100)
c:resize(50)
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

No branches or pull requests

1 participant