[pypy-issue] [issue1599] quadratic time in list.extend(sometuple)

Philip Jenvey tracker at bugs.pypy.org
Sun Sep 15 00:20:56 CEST 2013

Philip Jenvey <pjenvey at underboss.org> added the comment:

The actual shrinking should only occur when a length_hint reported a greater 
size than the actual amount the list was extended by. Which should never happen 
w/ a plain tuple

        # cut back if the length hint was too large
        if extended < length_hint:

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list