Recursive generators
- Speaker
- Joan Vilaltella
- Date
- Type
- Talk
- Language
- English
- Length
- 30 minutes
About this talk
“Recursive calls and generators are two well-known programming concepts. They can be easily combined in Python, with interesting results. The generator version of a tail-recursive function is good in terms of memory use, with a possible (usually acceptable) drawback in terms of speed.”