diff options
author | Alex Martelli <aleaxit@gmail.com> | 2003-10-25 13:02:57 (GMT) |
---|---|---|
committer | Alex Martelli <aleaxit@gmail.com> | 2003-10-25 13:02:57 (GMT) |
commit | dd6664514fe37d7c2544f07fabdd2726f777b068 (patch) | |
tree | 330fbc64b32b6e25b7ca71a0ac42851892259f83 /Misc | |
parent | a2777d3a55ca75f199ab4cedd8653104f2bcf40e (diff) | |
download | cpython-dd6664514fe37d7c2544f07fabdd2726f777b068.zip cpython-dd6664514fe37d7c2544f07fabdd2726f777b068.tar.gz cpython-dd6664514fe37d7c2544f07fabdd2726f777b068.tar.bz2 |
document the performance fix to builtin_sum().
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -23,6 +23,9 @@ Core and builtins starting with Py2.3 are guaranteed to be stable (the relative order of records with equal keys is unchanged). +- Added a list.copysort() method that returns a copy of the sorted list + while leaving the original intact. + - Added test whether wchar_t is signed or not. A signed wchar_t is not usable as internal unicode type base for Py_UNICODE since the unicode implementation assumes an unsigned type. @@ -44,6 +47,9 @@ Core and builtins - obj.__contains__() now returns True/False instead of 1/0. SF patch 820195. +- builtin_sum() now uses PyNumber_InPlaceAdd, fixing a previous + performance bug for sum(list_of_lists) and similar cases. + Extension modules ----------------- |