KEMBAR78
gh-106751: Optimize _PolllikeSelector for many iteration case by eendebakpt · Pull Request #106884 · python/cpython · GitHub
Skip to content

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Jul 19, 2023

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

@corona10

@corona10
Copy link
Member

corona10 commented Jul 19, 2023

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

@eendebakpt
Copy link
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

Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

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

lgtm

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 gh-106751: Optimize _PolllikeSelector for many iteration case 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants