You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm using LRU cache with eviction to manage a small cache. During the usage, I noticed the onEvict doesn't call on all evicted elements. After dig into the code, it seems like at this code, instead of pop the evicted element as a queue, the entire eviction list is reset
Hello, I'm using LRU cache with eviction to manage a small cache. During the usage, I noticed the onEvict doesn't call on all evicted elements. After dig into the code, it seems like at this code, instead of pop the evicted element as a queue, the entire eviction list is reset
golang-lru/lru.go
Line 85 in 5ae5436
The text was updated successfully, but these errors were encountered: