filmov
tv
Lazy Evaluation in Python

Показать описание
One of the functional programming characteristics that improves its performance is the deferred computation till it is required, also known as lazy evaluation. The logical expression operators and, or and if-then-else are all lazy. The yield statement is lazy as well.