diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2022-04-19 18:02:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 18:02:19 (GMT) |
commit | da6c78584b1f45ce3766bf7f27fb033169715292 (patch) | |
tree | aadde6ee2f5323357a7e0e8eff7a97f1fd44ec4b /Misc | |
parent | ab0d35d70dfe0b4c11583f8f735a8cc49b58c58b (diff) | |
download | cpython-da6c78584b1f45ce3766bf7f27fb033169715292.zip cpython-da6c78584b1f45ce3766bf7f27fb033169715292.tar.gz cpython-da6c78584b1f45ce3766bf7f27fb033169715292.tar.bz2 |
gh-90667: Add specializations of Py_DECREF when types are known (GH-30872)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-01-25-05-39-38.bpo-46509.ljrqrc.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-05-39-38.bpo-46509.ljrqrc.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-25-05-39-38.bpo-46509.ljrqrc.rst new file mode 100644 index 0000000..e19ce0a --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-01-25-05-39-38.bpo-46509.ljrqrc.rst @@ -0,0 +1 @@ +Add type-specialized versions of the ``Py_DECREF()``, and use them for ``float``, ``int``, ``str``, ``bool``, and ``None`` to avoid pointer-chasing at runtime where types are known at C compile time. |