[Python-Dev] PEP czar for PEP 3144? (original) (raw)
Stephen J. Turnbull stephen at xemacs.org
Tue Mar 20 01:43:10 CET 2012
- Previous message: [Python-Dev] PEP czar for PEP 3144?
- Next message: [Python-Dev] PEP czar for PEP 3144?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Mar 20, 2012 at 8:34 AM, Guido van Rossum <guido at python.org> wrote:
Anyway, I also tried to imply that it matters if the number of list items would ever be huge. It seems that is indeed possible (even if not likely) so I think iterators are useful.
But according to Nick's post, there's some sort of uniquification that is done, and the algorithm currently used computes the whole list anyway.
I suppose that one could do the uniquification lazily, or find some other way to avoid that computation. Is it worth it to optimize an unlikely case?
- Previous message: [Python-Dev] PEP czar for PEP 3144?
- Next message: [Python-Dev] PEP czar for PEP 3144?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]