Skip to content
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

Add select benchmark #2582

Merged
merged 1 commit into from
Mar 21, 2022
Merged

Add select benchmark #2582

merged 1 commit into from
Mar 21, 2022

Conversation

414owen
Copy link
Contributor

@414owen 414owen commented Mar 20, 2022

I was trying to optimize select, by making it take data that implements a Strategy trait, instead of a closure. Didn't seem to work, but it seems like a good function to benchmark.

Next try will be to make it stop calling .poll_next() on a stream when it terminates, and removing the Fuse layer. Might just be that these details are getting lost in the noise though.

Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks!

@taiki-e taiki-e merged commit 800fab0 into rust-lang:master Mar 21, 2022
taiki-e pushed a commit that referenced this pull request Aug 14, 2022
@taiki-e taiki-e mentioned this pull request Aug 14, 2022
taiki-e pushed a commit that referenced this pull request Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants