euporie.core.widgets.display.SimpleCache

class euporie.core.widgets.display.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.)