-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite AsyncVectoredWrite impl for BufWriter
Fill the buffer more eagerly over consecutive calls to poll_write_vectored. At the first non-empty slice, the buffer is flushed if the slice does not fit completely, after which filling can continue until capacity is exhausted, or there is an oversized slice for direct writing, or there are no more slices to write.
- Loading branch information
Showing
1 changed file
with
40 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters