Files
pallectrum/electrum
SomberNight 138e2f6ba0 add "lrucache" module, extracted from the 3rd-party tkem/cachetools library
functools.lru_cache in the stdlib is not generic enough. That can be used to cache the results of a single pure function,
however I have usecases where one function is supposed to populate the cache, while another function consumes it.
https://docs.python.org/3/library/functools.html#functools.lru_cache

This is stripped down and extracts just the LRUCache from tkem/cachetools. It is relatively short, and very mature code.
I don't expect that we have to "follow" upstream, etc. There likely won't be relevant changes upstream.
Effectively, we are forking and bundling this code.

similar to 04582cc353
2025-08-08 14:34:49 +00:00
..
2025-08-05 12:36:55 +00:00
2025-07-27 12:12:39 +03:00
2025-07-18 00:22:18 +00:00
2025-04-23 16:09:31 +02:00
2025-04-23 16:09:31 +02:00
2025-08-05 13:21:19 +00:00
2025-04-23 16:09:31 +02:00