summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorDavid Ellis <ducksual@gmail.com>2023-04-10 21:50:58 (GMT)
committerGitHub <noreply@github.com>2023-04-10 21:50:58 (GMT)
commitd034590294d4618880375a6db513c30bce3e126b (patch)
treeb8d89889a1e1de87837ca9739384872b9d7444bd /Misc/NEWS.d
parentf80014a9b0e8d00df3e65379070be1dfd2721682 (diff)
downloadcpython-d034590294d4618880375a6db513c30bce3e126b.zip
cpython-d034590294d4618880375a6db513c30bce3e126b.tar.gz
cpython-d034590294d4618880375a6db513c30bce3e126b.tar.bz2
gh-103000: Optimise dataclasses asdict/astuple for common types (#103005)
Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2023-03-24-20-49-48.gh-issue-103000.6eVNZI.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-03-24-20-49-48.gh-issue-103000.6eVNZI.rst b/Misc/NEWS.d/next/Library/2023-03-24-20-49-48.gh-issue-103000.6eVNZI.rst
new file mode 100644
index 0000000..15f16d9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-03-24-20-49-48.gh-issue-103000.6eVNZI.rst
@@ -0,0 +1,2 @@
+Improve performance of :func:`dataclasses.astuple` and
+:func:`dataclasses.asdict` in cases where the contents are common Python types.