Skip to content

Return more chunks from Take::chunks_vectored#476

Closed
vorner wants to merge 1 commit into
tokio-rs:masterfrom
vorner:take-vectored
Closed

Return more chunks from Take::chunks_vectored#476
vorner wants to merge 1 commit into
tokio-rs:masterfrom
vorner:take-vectored

Conversation

@vorner
Copy link
Copy Markdown
Contributor

@vorner vorner commented Feb 2, 2021

Specialize the Takes implementation of the method so it can return as
many chunks as possible, instead of the default 1.

Implements #474.

(I'm not marking it „Closes“, as there's still the open question if the guarantee in the documentation should be relaxed; I think this makes sense even if it gets relaxed because it allows for more optimal use of write_vectored and similar).

Specialize the `Take`s implementation of the method so it can return as
many chunks as possible, instead of the default 1.

Implements #474.
@Darksonn
Copy link
Copy Markdown
Member

I'm merging #617 with several changes. I listed you on the commit as well, since it ended up being a combination of the two PRs. Thanks for the PR.

@Darksonn Darksonn closed this Jan 13, 2025
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.

2 participants