cs_lang:python:things-to-know:lazy-vs-eager
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
cs_lang:python:things-to-know:lazy-vs-eager [2013/01/23 14:51] – created cedric | cs_lang:python:things-to-know:lazy-vs-eager [2013/01/23 14:53] – cedric | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Lazy vs Eager evaluation | + | ====== |
Python generally uses a eager evaluation (in contrary to Haskell). | Python generally uses a eager evaluation (in contrary to Haskell). | ||
Line 19: | Line 19: | ||
3 | 3 | ||
</ | </ | ||
+ | |||
+ | Lazy evaluation saves execution time for large ranges. |
cs_lang/python/things-to-know/lazy-vs-eager.txt · Last modified: 2013/01/23 15:01 by cedric