]> granicus.if.org Git - python/commitdiff
bpo-30040: update news entry (GH-12324)
authorInada Naoki <songofacandy@gmail.com>
Thu, 14 Mar 2019 09:54:09 +0000 (18:54 +0900)
committerGitHub <noreply@github.com>
Thu, 14 Mar 2019 09:54:09 +0000 (18:54 +0900)
This optimization is not only for space, but also for speed.

Misc/NEWS.d/next/Core and Builtins/2019-03-11-22-30-56.bpo-30040.W9z8X7.rst

index eacba679d5a3a4d73ffec611489dbf3ea8366100..0975dba1f37e4d5c8912f2c70ea28507511ed404 100644 (file)
@@ -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.