summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_array.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-16 10:38:38 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-16 10:38:38 (GMT)
commit4d01259fb262e7eb035b56ae70637884ef4e8cd8 (patch)
tree215dc207de652cf3b9b2d6b42b30e3e10c346f5e /Lib/test/test_array.py
parent8a6a59c58b70df6f3f230ddf575b5af0eb0a2fb6 (diff)
downloadcpython-4d01259fb262e7eb035b56ae70637884ef4e8cd8.zip
cpython-4d01259fb262e7eb035b56ae70637884ef4e8cd8.tar.gz
cpython-4d01259fb262e7eb035b56ae70637884ef4e8cd8.tar.bz2
SF bug #1085744: Performance issues with PySequence_Tuple()
* Added missing error checks. * Fixed O(n**2) growth pattern. Modeled after lists to achieve linear amortized resizing. Improves construction of "tuple(it)" when "it" is large and does not have a __len__ method. Other cases are unaffected.
Diffstat (limited to 'Lib/test/test_array.py')
0 files changed, 0 insertions, 0 deletions