From: Inada Naoki Date: Thu, 14 Mar 2019 09:54:09 +0000 (+0900) Subject: bpo-30040: update news entry (GH-12324) X-Git-Tag: v3.8.0a3~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3fe7fa316f74ed630fbbcdf54564f15cda7cb045;p=thirdparty%2FPython%2Fcpython.git bpo-30040: update news entry (GH-12324) This optimization is not only for space, but also for speed. --- diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-11-22-30-56.bpo-30040.W9z8X7.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-11-22-30-56.bpo-30040.W9z8X7.rst index eacba679d5a3..0975dba1f37e 100644 --- a/Misc/NEWS.d/next/Core and Builtins/2019-03-11-22-30-56.bpo-30040.W9z8X7.rst +++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-11-22-30-56.bpo-30040.W9z8X7.rst @@ -1,2 +1,3 @@ New empty dict uses fewer memory for now. It used more memory than empty -dict created by ``dict.clear()``. Patch by Inada Naoki. +dict created by ``dict.clear()``. And empty dict creation and deletion +is about 2x faster. Patch by Inada Naoki.