From 3fe7fa316f74ed630fbbcdf54564f15cda7cb045 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Thu, 14 Mar 2019 18:54:09 +0900 Subject: [PATCH] bpo-30040: update news entry (GH-12324) This optimization is not only for space, but also for speed. --- .../Core and Builtins/2019-03-11-22-30-56.bpo-30040.W9z8X7.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 eacba679d5a..0975dba1f37 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.