summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-11-07 15:59:04 (GMT)
committerGitHub <noreply@github.com>2019-11-07 15:59:04 (GMT)
commit6cbc84fb99acb33dd659d7adb29a20adbe62b74a (patch)
tree227b48a65e2965719fc86a3c5759f04e6a615c85 /Misc
parentd12d0e7c0fe2b49c40ac4d66365147c619d6c475 (diff)
downloadcpython-6cbc84fb99acb33dd659d7adb29a20adbe62b74a.zip
cpython-6cbc84fb99acb33dd659d7adb29a20adbe62b74a.tar.gz
cpython-6cbc84fb99acb33dd659d7adb29a20adbe62b74a.tar.bz2
bpo-38613: Optimize set operations of dict keys. (GH-16961)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-10-29-15-44-24.bpo-38613.V_R3NC.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-10-29-15-44-24.bpo-38613.V_R3NC.rst b/Misc/NEWS.d/next/Core and Builtins/2019-10-29-15-44-24.bpo-38613.V_R3NC.rst
new file mode 100644
index 0000000..c001db6
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-10-29-15-44-24.bpo-38613.V_R3NC.rst
@@ -0,0 +1,3 @@
+Optimized some set operations (e.g. ``|``, ``^``, and ``-``) of
+``dict_keys``. ``d.keys() | other`` was slower than ``set(d) | other`` but
+they are almost same performance for now.