5 ms·
As others have stated, functools.lru_cache has existed for quite some time.
by ben-schaaf 6y ago
As others have stated, functools.lru_cache has existed for quite some time.
- DonaldPShimoda 6y agoNever realized you could turn off the maximum size in the `lru_cache`, actually. Maybe I'll have to read those docs more carefully haha.