Speeding up function calls with just one line in Python 3 minute read One line summary: Use lru_cache decorator