Vladimir

31%
Flag icon
The main advantage of @lru_cache is that its memory usage is bounded by the maxsize parameter, which has a rather conservative default value of 128—which means the cache will hold at most 128 entries at any time.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview