Generator expressions v/s list comprehensions

Paul Rubin http
Sat Aug 28 22:28:53 CEST 2004


Mahesh Padmanabhan <mahesh at privacy.net> writes:
> I am still not clear of the advantages of using generator expressions 
> (other than less memory consumption) 

Why do you think using bounded rather than unbounded amounts of memory
is an insignificant advantage?



More information about the Python-list mailing list