Misuse of list comprehensions?

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Tue May 20 09:46:11 EDT 2008


John Salerno:
> What does everyone think about this?

The Example 2 builds a list, that is then thrown away. It's just a
waste of memory (and time).

Bye,
bearophile



More information about the Python-list mailing list