Message54112
The current implementation of map() and filter()
returns a list when executed on any iterator, including
generators.
However, it may be very useful to map and filter the
output from generators without having to generate all
the data and allocate memory for it.
I would propose for map() and filter() to return a
generator-object instead of a list when the
input-argument is a generator. |
|
Date |
User |
Action |
Args |
2007-08-23 16:08:02 | admin | link | issue912738 messages |
2007-08-23 16:08:02 | admin | create | |
|