![Оптимизация скорости работы функций в Python (memoization, @cache, custom decorator caching) - YouTube Оптимизация скорости работы функций в Python (memoization, @cache, custom decorator caching) - YouTube](https://i.ytimg.com/vi/9fGOfrMZ89E/maxresdefault.jpg)
Оптимизация скорости работы функций в Python (memoization, @cache, custom decorator caching) - YouTube
Santiago on Twitter: "🔟 LRU Cache - Python 3.2+ Using the functools.lru_cache decorator, you can wrap any function with a memoizing callable that implements a Least Recently Used (LRU) algorithm to evict
![Laís Carvalho on Twitter: "TIL; the `lru_cache()` python decorator that reduced a Fibonacci function execution from 32s to 0.18 ms. I think I'm in love <3 https://t.co/Yh34Ym1XJX" / Twitter Laís Carvalho on Twitter: "TIL; the `lru_cache()` python decorator that reduced a Fibonacci function execution from 32s to 0.18 ms. I think I'm in love <3 https://t.co/Yh34Ym1XJX" / Twitter](https://pbs.twimg.com/media/FSezAswWUAE5jf0.png)