From 31b2ab88b805c74bc630c1a4b093a8e2d654cccf Mon Sep 17 00:00:00 2001 From: Alex Martelli Date: Sat, 25 Oct 2003 13:02:24 +0000 Subject: document the performance fix to builtin_sum(). --- Misc/NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 7b010f1..0fd0196 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -15,6 +15,9 @@ Core and builtins - Patch #820195: object.__contains__() now returns True or False instead of 1 or 0. +- builtin_sum() now uses PyNumber_InPlaceAdd, fixing a previous + performance bug for sum(list_of_lists) and similar cases. + Extension modules ----------------- -- cgit v0.12