[Python-Dev] accumulator display syntax
Alex Martelli
aleaxit at yahoo.com
Tue Oct 21 13:39:45 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 21 13:39:45 EDT 2003
- Previous message: [Python-Dev] accumulator display syntax
- Next message: [Python-Dev] accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tuesday 21 October 2003 05:59 pm, Phillip J. Eby wrote: ... > If you make it a list that's lazy, it doesn't lose the memory allocation > overhead for the list. If I understand Alex's benchmarks, making a lazy > list would end up being *slower* than list comprehension is now. No, my benchmarks show that NOT having to "incarnate" the list, when all you do is loop on it, is a modest but repeatable win (20%-30% or so). Alex
- Previous message: [Python-Dev] accumulator display syntax
- Next message: [Python-Dev] accumulator display syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list