Skip to content

gh-106751: Optimize _PolllikeSelector for many iteration case - #106884

Merged
corona10 merged 8 commits into
python:mainfrom
eendebakpt:polllikeselector
Jul 20, 2023
Merged

corona10 merged 8 commits into
python:mainfrom
eendebakpt:polllikeselector

Conversation

@eendebakpt

@eendebakpt eendebakpt commented Jul 19, 2023 •

Copy link
Copy Markdown
Contributor

Optimize the select and modify of the _PolllikeSelector in the same style as the other PRs from #106751

@corona10

Comment thread Lib/selectors.py Resolved
@corona10

corona10 commented Jul 19, 2023 •

Copy link
Copy Markdown
Member

@eendebakpt Would you like to run the benchmark on the local environment?

@eendebakpt

Copy link
Copy Markdown
Contributor Author

@eendebakpt Would you like to run the benchmark on the local environment?

Local benchmark adapted from the issue:

original: 9.72887155600074
new: 8.924290647999442

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread Lib/selectors.py Resolved
eendebakpt and others added 2 commits July 19, 2023 17:05
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
@corona10 corona10 changed the title gh-106751: Optimize _PolllikeSelector Jul 20, 2023
@corona10
corona10 merged commit 832c37d into python:main Jul 20, 2023
@eendebakpt
eendebakpt deleted the polllikeselector branch June 26, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants