Day: 2 February 2018

Python – Understanding Generators

Many functions in Python use or generate in-memory lists for iteration.  This is fine for relatively small list, but for large lists it becomes a problem. Lazy Lists A lazy list is when the next item is supplied when needed, and not before.  If we stop processing before reaching the end of the list then those […]

Read more