Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1822ff8 commit 74d0084Copy full SHA for 74d0084
Doc/whatsnew/3.12.rst
@@ -553,6 +553,9 @@ Optimizations
553
replacement strings containing group references by 2--3 times.
554
(Contributed by Serhiy Storchaka in :gh:`91524`.)
555
556
+* Speed up :class:`asyncio.Task` creation by deferring expensive string formatting.
557
+ (Contributed by Itamar O in :gh:`103793`.)
558
+
559
560
CPython bytecode changes
561
========================
Misc/NEWS.d/next/Core and Builtins/2023-04-24-14-38-16.gh-issue-103793.kqoH6Q.rst
@@ -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