Browse Source
bpo-30040: update news entry (GH-12324)
This optimization is not only for space, but also for speed.
pull/12326/head
Inada Naoki
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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. |