summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2021-02-22 02:59:16 (GMT)
committerGitHub <noreply@github.com>2021-02-22 02:59:16 (GMT)
commitb19855bb6ffd69a16e8b53873b19b0b04f488716 (patch)
tree220c0107dd3a193fbea6a2975443707b47911fd8 /Misc
parent01806d5beba3d208bb56adba6829097d803bf54f (diff)
downloadcpython-b19855bb6ffd69a16e8b53873b19b0b04f488716.zip
cpython-b19855bb6ffd69a16e8b53873b19b0b04f488716.tar.gz
cpython-b19855bb6ffd69a16e8b53873b19b0b04f488716.tar.bz2
bpo-42808: Add PyType_Type.tp_vectorcall for type(obj) performance (GH-24058)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-01-02-05-10-58.bpo-42808.AOxgxl.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-02-05-10-58.bpo-42808.AOxgxl.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-02-05-10-58.bpo-42808.AOxgxl.rst
new file mode 100644
index 0000000..1c70005
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-01-02-05-10-58.bpo-42808.AOxgxl.rst
@@ -0,0 +1,2 @@
+Simple calls to ``type(object)`` are now faster due to the
+``vectorcall`` calling convention. Patch by Dennis Sweeney.