The shared lib/lru cache is used as a byte-bounded cache, but it cannot currently report or change its…
The shared lib/lru cache is used as a byte-bounded cache, but it cannot currently report or change its…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). An entry consumes int64(len(key) + value.Len()) bytes. Adding a new key and replacing an existing key both make…
The task
An entry consumes `int64(len(key) + value.Len())` bytes. Adding a new key and replacing an existing key both make that key most recently used. Replacement must account for the full size delta in either direction; it must not invoke `OnEvicted` merely because the old value was replaced. With a positive limit, `Add`…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.