[Python-Dev] Patch #552433
Wed, 8 May 2002 09:49:34 -0400
On Wed, May 08, 2002, Guido van Rossum wrote:
> > Patch #552433: Special-case tuples. Avoid sub-type checking for lists.
> > Avoid checks for negative indices and duplicate checks for support of
> > the sequence protocol.
> I've missed the review of this patch. Why bother special-casing
> tuples? Who's ever going to iterate over a tuple long enough that it
> makes a difference?
Define "long enough"; I'm expecting that my BCD module will generate
tuples at least a hundred elements.
Aahz (email@example.com) <*> http://www.pythoncraft.com/
See me at OSCON! I'm teaching Python for [Perl] Programmers, a fast intro
for all experienced programmers (not just Perl). Early bird ends June 10.