mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Document asyncio performance improvement in What's New (#103370)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
f329a8bc1e
commit
63dc969ec6
1 changed files with 5 additions and 0 deletions
|
|
@ -210,6 +210,11 @@ array
|
|||
asyncio
|
||||
-------
|
||||
|
||||
* The performance of writing to sockets in :mod:`asyncio` has been
|
||||
significantly improved. ``asyncio`` now avoids unnecessary copying when
|
||||
writing to sockets and uses :meth:`~socket.socket.sendmsg` if the platform
|
||||
supports it. (Contributed by Kumar Aditya in :gh:`91166`.)
|
||||
|
||||
* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default
|
||||
if :func:`os.pidfd_open` is available and functional instead of
|
||||
:class:`~asyncio.ThreadedChildWatcher`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue