Skip to content

Commit

Permalink
Add NEWS and whatsnew entries
Browse files Browse the repository at this point in the history
  • Loading branch information
itamaro committed Apr 24, 2023
1 parent 1822ff8 commit dbfe832
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ Optimizations
replacement strings containing group references by 2--3 times.
(Contributed by Serhiy Storchaka in :gh:`91524`.)

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


CPython bytecode changes
========================
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Optimized asyncio Task creation by deferring expensive string formatting
(task name generation) from Task creation to the first time `get_name` is
called. This makes asyncio benchmarks up to 5% faster.

0 comments on commit dbfe832

Please sign in to comment.