-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
In WTinyLFU.c (lines 306-312), the implemented functionality is: when both the window cache and main cache are full and the window_victim from the window cache wins the competition, the main_cache_victim from the main cache should be evicted. However, after completing the eviction, it should set evicted to true to stop further evictions. The statement evicted = true; is currently missing, which may cause multiple objects to be evicted unnecessarily during each replacement.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed