Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allocate capacity in ready_chunks
`read_chunks` practically often returns items when not all capacity filled. So always allocating full capacity results in excessive allocation. This is especially an issue when `capacity` parameter passed is large (to be able to handle streams efficiently under high load).
- Loading branch information