uproot.cache

This module defines simple, thread-safe cache classes satisfying the MutableMapping protocol.

The uproot.LRUCache implements a least-recently used eviction policy that limits the number of items in the cache (used as an object_cache).

The uproot.LRUArrayCache implements the same policy, limiting the total number of bytes, as reported by nbytes.