Skip to content

Commit 74d0084

Browse files
committed
Add NEWS and whatsnew entries
1 parent 1822ff8 commit 74d0084

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ Optimizations
553553
replacement strings containing group references by 2--3 times.
554554
(Contributed by Serhiy Storchaka in :gh:`91524`.)
555555

556+
* Speed up :class:`asyncio.Task` creation by deferring expensive string formatting.
557+
(Contributed by Itamar O in :gh:`103793`.)
558+
556559

557560
CPython bytecode changes
558561
========================
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Optimized asyncio Task creation by deferring expensive string formatting
2+
(task name generation) from Task creation to the first time ``get_name`` is
3+
called. This makes asyncio benchmarks up to 5% faster.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy