Logo
Python Snacks
Logo
Articles
Advertise
Contact
Books
Sign Up

performance

Profiling, timeit, algorithm efficiency.


Using Python's LRU Cache

Using Python's LRU Cache

Caching your program's output can increase significantly. Using Python's functools.lru_cache decorator makes creating caches easy.

Jun 18, 2025

•

6 min read

Writing Faster Code: 7 Simple Ways to Improve Your Python Loops

Writing Faster Code: 7 Simple Ways to Improve Your Python Loops

Practical tips to speed up your Python code and make your loops more efficient.

Sep 25, 2024

•

9 min read

background

Become a better software engineer today.

Newsletter

Login

Upgrade to Pro

Sample Issue

Advertise

Tools

Tutorials

Templates

Resources

Newsletter

Blog

Latest Posts

Experts

Creators

Most Popular

Resources

Support

Recommendations

Software Engineering Books

© 2025 Python Snacks.

Privacy policy

Terms of use

Powered by beehiiv