In this video we will be learning how we can use @cached_property in Python to optimise our classes. This is perfect if you have some expensive operations that you only need to perform once, but might want to use the result more than once.
▶ Become job-ready with Python:
https://www.indently.io
▶ Follow me on Instagram:
/ indentlyreels
00:00 Intro
00:16 Example
01:23 What a waste…
01:44 @cached_property
03:35 Optimised
04:04 Summing it up
On this page of the site you can watch the video online Use “@cached_property” For FASTER Python Classes with a duration of hours minute second in good quality, which was uploaded by the user Indently 18 August 2023, share the link with friends and acquaintances, this video has already been watched 15,765 times on youtube and it was liked by 515 viewers. Enjoy your viewing!