Caching via decorators in Python

"go back"

In this tutorial we will have a look at using decorators inside Python to cache heavy calculations. This will speed up our applications because we won't require to recalculate time consuming functions over and over again.

Please also have a look at my other tutorial Introduction to decorators in Python to get up to speed in using decorators.

Project files can be downloaded here
What is 7 + 4?

other tutorials projects