[Python-Dev] PEP czar for PEP 3144? (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Tue Mar 20 01:43:10 CET 2012


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?



More information about the Python-Dev mailing list