Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

gh-134173: Optimize concurrent.futures→asyncio state transfer with atomic snapshot#134174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kumaraditya303 merged 9 commits intopython:mainfrombdraco:thread_to_asyncio_slow
May 18, 2025
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
adjust news per review comments
  • Loading branch information
@bdraco
bdraco committedMay 18, 2025
commitb0908edd6670a22d3959224af2802f15d008dfb6
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
Add ``_get_snapshot()`` method to :class:`concurrent.futures.Future` to
atomically retrieve all future state in a single lock acquisition. This speeds
up :mod:`asyncio`'s ``_copy_future_state()`` by up to 4x when transferring state
from :class:`concurrent.futures.Future` to :class:`asyncio.Future`. Patch by J. Nick Koston.
Speed up :mod:`asyncio` performance of transferring state from thread
pool :class:`concurrent.futures.Future` by up to 4.4x. Patch by J. Nick
Koston.
Loading

[8]ページ先頭

©2009-2025 Movatter.jp