This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The splitting of reads into 16k chunks to avoid resource exhaustion has become obsolete since .take() / .read_to_end() is used, as its implementation already takes care of allocating in sane chunk sizes. The .reserve() call for the small values ensures that we use the available knowledge in the typical cases. (Given indenting changes, this commit is best viewed with --ignore-all-space).
- Loading branch information
Showing
1 changed file
with
23 additions
and
32 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