smdzz

Results 4 issues of smdzz

##### Versions *Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.* | Sarama | Kafka | Go | |--------|-------|----| | lasted | kafka_2.13-3.1.0...

![image](https://github.com/hashicorp/golang-lru/assets/42811004/b29c7a16-c7dd-46cc-b4db-244d55e67588) I see only `evict := c.size > 0 && c.evictList.Length() > c.size` the evict operation of the element is performed,so the example response is error. I expect you to...

my go version is 1.20 I use the example: ``` package main import ( "fmt" "time" "github.com/hashicorp/golang-lru/v2/expirable" ) func main() { // make cache with 10ms TTL and 5 max...