Open crioux opened 1 year ago
Callback support lets you know when an mutable operation on an LruCache causes items to be removed from the cache. Right now there's no way to know if you're losing objects out of the cache. Adds:
insert_with_callback entry_with_callback set_capacity_with_callback peek_lru
Callback support lets you know when an mutable operation on an LruCache causes items to be removed from the cache. Right now there's no way to know if you're losing objects out of the cache. Adds:
insert_with_callback entry_with_callback set_capacity_with_callback peek_lru