-
Notifications
You must be signed in to change notification settings - Fork 28
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
过期缓存的淘汰 #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请教下,在
func (c *Cache) _get(key string, idx, level int32) (*node, int)
将cache的数据读取的时候,过期的数据也被lru提取到最前面,是不是会导致一些不应该那么快淘汰的数据被淘汰?
将adjust单独抽出,然后过期的数据不需要adjust是不是会更好?
The text was updated successfully, but these errors were encountered: