euporie.core.style.SimpleCache

class euporie.core.style.SimpleCache(maxsize: int = 8)

Very simple cache that discards the oldest item when the cache size is exceeded.

Parameters:

maxsize – Maximum size of the cache. (Don’t make it too big.)