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

perf(util): optimize <BufList as Buf>::has_remaining #94

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

tesaguri
Copy link
Contributor

This allows short-circuiting when there is a non-empty chunk.

This allows short-circuiting when there is a non-empty chunk.
@tesaguri tesaguri force-pushed the buf-list-has-remaining branch from 10a9f72 to 22e6876 Compare September 10, 2023 12:19
@tesaguri
Copy link
Contributor Author

The CI failure doesn't seem to be relevant to this patch.

@seanmonstar seanmonstar merged commit bffa8c5 into hyperium:master Feb 21, 2024
3 of 4 checks passed
@tesaguri tesaguri deleted the buf-list-has-remaining branch February 22, 2024 12:24
@yanns
Copy link

yanns commented Mar 11, 2024

Could we have a release for this?

@seanmonstar
Copy link
Member

I checked the benchmarks and didn't see much difference with this. But I've filed #112 which does help a lot.

@yanns
Copy link

yanns commented Mar 11, 2024

For me, that change was a big improvement: tokio-rs/axum#2381 (reply in thread)
I'll try #112

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