summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorItamar Ostricher <itamarost@gmail.com>2023-05-09 12:39:59 (GMT)
committerGitHub <noreply@github.com>2023-05-09 12:39:59 (GMT)
commit85f981880ae9591ba577e44d2945a771078a7c35 (patch)
tree14ba9aef05efe497e6b15f3ec6b97bde3d122672 /Doc
parent9196da417d20e1484e23b3c80483b0222abaadf2 (diff)
downloadcpython-85f981880ae9591ba577e44d2945a771078a7c35.zip
cpython-85f981880ae9591ba577e44d2945a771078a7c35.tar.gz
cpython-85f981880ae9591ba577e44d2945a771078a7c35.tar.bz2
gh-97696: Move around and update the whatsnew entry for asyncio eager task factory (#104298)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.12.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index fe6ad57..12d357f 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -282,6 +282,11 @@ asyncio
writing to sockets and uses :meth:`~socket.socket.sendmsg` if the platform
supports it. (Contributed by Kumar Aditya in :gh:`91166`.)
+* Added :func:`asyncio.eager_task_factory` and :func:`asyncio.create_eager_task_factory`
+ functions to allow opting an event loop in to eager task execution,
+ making some use-cases 2x to 5x faster.
+ (Contributed by Jacob Bower & Itamar O in :gh:`102853`, :gh:`104140`, and :gh:`104138`)
+
* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default
if :func:`os.pidfd_open` is available and functional instead of
:class:`~asyncio.ThreadedChildWatcher`.
@@ -644,11 +649,6 @@ Optimizations
* Speed up :class:`asyncio.Task` creation by deferring expensive string formatting.
(Contributed by Itamar O in :gh:`103793`.)
-* Added :func:`asyncio.eager_task_factory` and :func:`asyncio.create_eager_task_factory`
- functions to allow opting an event loop in to eager task execution,
- speeding up some use-cases by up to 50%.
- (Contributed by Jacob Bower & Itamar O in :gh:`102853`)
-
CPython bytecode changes
========================