-
Notifications
You must be signed in to change notification settings - Fork 526
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
[BUG](common): ARCCache's param c
means cache capacity
#2952
Labels
bug
Something isn't working
Comments
If you think this makes sense, I am glad to submit a PR and add some tests for ARCCache :) |
Maybe you consider Lines 90 to 92 in bfd5acb
|
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug (描述bug)
ARCCache's param
c
means cache capacity, but in the code, it is not. So this will cause ARCCache's real capacity will be maxCount/2.To Reproduce (复现方法)
Expected behavior (期望行为)
Versions (各种版本)
OS:
Compiler:
branch:
commit id:
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: