Thanks to visit codestin.com
Credit goes to github.com

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

+3
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
========================
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)