-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-106751: selectors: optimize EpollSelector.select() #106754
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
Conversation
bdraco
commented
Jul 14, 2023
•
edited by bedevere-bot
Loading
edited by bedevere-bot
- Issue: Optimize XXXSelector for many iterations of the event loop #106751
max()
Co-authored-by: Pieter Eendebak <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. It took a bit of time for me to understand how the operation of and
on integers is used in the event processing. The readability of that part of the code is not great. But it is not worse than before, so I am fine with the changes as is.
max()
Co-authored-by: Inada Naoki <[email protected]>
Would you do some micro benchmark? |
I missed your benchmark result in the issue. |
Thanks! |