Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dbfe832

Browse filesBrowse files
committed
Add NEWS and whatsnew entries
1 parent 1822ff8 commit dbfe832
Copy full SHA for dbfe832

File tree

2 files changed

+6
-0
lines changed
Filter options

2 files changed

+6
-0
lines changed

‎Doc/whatsnew/3.12.rst

Copy file name to clipboardExpand all lines: Doc/whatsnew/3.12.rst
+3Lines 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
========================
+3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.