On Tuesday, August 16, 2016 at 6:53:24 PM UTC+12, Jussi Piitulainen wrote: > Lawrence D’Oliveiro writes: > >> Why could this difference be important? > > Different comprehensions (pun!) and performance characteristics.
A potential difference in memory usage. When could this be important? Consider a situation where the iterable being mapped is returning records from a database query. If it were a million records, you might not want them all in memory at the same time. -- https://mail.python.org/mailman/listinfo/python-list