Tag: performance

How to save computation time with functools.cached_property?

User profile image Johan Vergeer Jul 5, 2020 min read
The cached_property decorator can save a lot of computation time in return of some RAM memory. Can this decorator be used anywhere, or should it be used sparingly? Let's find out!