Module ccache::lru[][src]

Basic LRU cache

Extra features: callbacks on get/insert, lazy scan callback

The lazy scan is a scan that only runs on one more element after each get/insert
This means that X elements will be fully scanned only after X get/insert

Structs

LRU

LRU implementation that wraps LRUShared

LRUShared

Actual implementation of the LRU on a shared hashmap