HF RL Explorer

The small lib/lru package is now being used by callers that need to inspect and manage a cache without…

The small lib/lru package is now being used by callers that need to inspect and manage a cache without…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Add these methods to Cache : Bytes() int64 , Peek(key string) (Value, bool) , Keys() string , Remove(key string)…

The task

Add these methods to `*Cache`: `Bytes() int64`, `Peek(key string) (Value, bool)`, `Keys() []string`, `Remove(key string) (Value, bool)`, `Clear()`, `Resize(maxBytes int64)`, `Stats()` returning a struct value with exported `Hits` and `Misses` fields of type `uint64`, and `ResetStats()`.

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.