Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Resolve #152: perform a .get only when necessary The previous implementation performed a .get every time when reading to the buffer. This was wasteful and unnecessary. A single .get is sufficient to read from the current position until the end of the file. Another .get is only necessary when seeking. * decrease default buffer size to 128kB This matches the behavior of 1.5.3 more closely, as observed during live tests against S3.
- Loading branch information
1 parent
27557bc
commit fbc82cc
Showing
1 changed file
with
29 additions
and
15 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