Skip to content

fix LruCache insert#344

Open
nkysg wants to merge 1 commit intoSorellaLabs:mainfrom
nkysg:fix_lrucache_insert
Open

fix LruCache insert#344
nkysg wants to merge 1 commit intoSorellaLabs:mainfrom
nkysg:fix_lrucache_insert

Conversation

@nkysg
Copy link
Copy Markdown

@nkysg nkysg commented Feb 16, 2025

The current implementation removes the Lru entry when the cache size equals the limit, which causes the cache to underfill. It should be removed when the cache size exceeds the limit.

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

Successfully merging this pull request may close these issues.

1 participant