jeromefroe/lru-rs

Cache key may not work

Closed this issue · 5 comments

It seems because of KeyRef?

map: HashMap<KeyRef<K>, NonNull<LruEntry<K, V>>, S>,

@mokeyish do you by chance have a reproducible example of the error you're running into? Having the code for an example would make it easier to debug. There's also some changes for the KeyRef type in #166 that might be relevant to this issue.

The reason may be that the key is deserialized by BinDecoder.

I found the cause of the problem, not because of this.