diff options
author | J. Nick Koston <nick@koston.org> | 2023-07-14 18:46:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 18:46:30 (GMT) |
commit | aeef8591e41b68341af308e56a744396c66879cc (patch) | |
tree | 8523e90bac25c987c79c57aa46b4ba357406d8d5 /Misc | |
parent | 6a70edf24ca217c5ed4a556d0df5748fc775c762 (diff) | |
download | cpython-aeef8591e41b68341af308e56a744396c66879cc.zip cpython-aeef8591e41b68341af308e56a744396c66879cc.tar.gz cpython-aeef8591e41b68341af308e56a744396c66879cc.tar.bz2 |
gh-106554: replace `_BaseSelectorImpl._key_from_fd` with `dict.get` (#106555)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-07-09-01-59-24.gh-issue-106554.37c53J.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-07-09-01-59-24.gh-issue-106554.37c53J.rst b/Misc/NEWS.d/next/Library/2023-07-09-01-59-24.gh-issue-106554.37c53J.rst new file mode 100644 index 0000000..2136f3a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-07-09-01-59-24.gh-issue-106554.37c53J.rst @@ -0,0 +1 @@ +:mod:`selectors`: Reduce Selector overhead by using a ``dict.get()`` to lookup file descriptors. |