Speed Up your Python Apps with Caching
In this video we look at how to implement caching for functions, class properties and class methods to improve time performance. We also look at some of the associated caveats, and where you need to be a bit more careful. #mathbyteacademy #python Content ======= 00:00 - Introduction 07:18 - Caching from First Principles 14:51 - Python's LRU Cache and the @lru_cache Decorator 19:08 - Python's @ache decorator 19:43 - Caveats and Finer Details of the LRU Cache 22:52 - Caching Class Properties 27:09 - Cached Properties and Mutability Caveats 35:49 - Caching Class Methods using the LRU Cache 42:41 - Conclusion and 3rd Party Library for more options Code for this Video =================== Available in GitHub blog repo: https://github.com/fbaptiste/python-blog Direct link: https://tinyurl.com/yrnka7y4 My Python Courses ================= Python 3 Fundamentals (introduction to Python) https://www.udemy.com/course/python3-... Python 3 Deep Dive (Part 1 - Functional) https://www.udemy.com/course/python-3... Python 3 Deep Dive (Part 2 - Iteration, Generators) https://www.udemy.com/course/python-3... Python 3 Deep Dive (Part 3 - Hash Maps) https://www.udemy.com/course/python-3... Python 3 Deep Dive (Part 4 - OOP) https://www.udemy.com/course/python-3...

Python's SimpleNamespace and JSON

Python Logging Demystified: Part 1 - Concepts

Python MultiProcessing: Leveraging Pools to Turbocharge your Apps

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

diary/devlog 104 - C++ practice video 20 (Functions)

How “lru_cache” Can Make Your Functions Over 100X FASTER In Python

Python Logging Demystified: Part 2 - Coding

Pydantic: Migrating from V1 to V2

Pydantic (V2) - In-depth Starter Guide

What does '__init__.py' do in Python?

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

The Tenacity Library

The pyyaml Library

"We Ran Out Of Columns" - The Worst Codebase Ever

Python Tutorial: AsyncIO - Complete Guide to Asynchronous Programming with Animations

Simplify Debug Print Statements using IceCream

7 Design Patterns EVERY Developer Should Know

The benedict Library

AI Bubble: How AI's push towards IPOs became a death drive | Ed Zitron

