8000 gh-106554: Replace `_BaseSelectorImpl._key_from_fd` with a simple `get` by bdraco · Pull Request #106555 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-106554: Replace _BaseSelectorImpl._key_from_fd with a simple get #106555

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 14, 2023
Prev Previous commit
Update Misc/NEWS.d/next/Library/2023-07-09-01-59-24.gh-issue-106554.3…
…7c53J.rst
  • Loading branch information
methane authored Jul 14, 2023
commit d80ae26980f400352f92521965eed7ad223ead2a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Reduce selector overhead by switching ``SelectSelector`` to use a ``dict`` ``.get()`` to lookup file descriptors.
:mod:`selectors`: Reduce Selector overhead by using a ``dict.get()`` to lookup file descriptors.
0