mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:23:48 +08:00
e53892f53b
RepeatableReaderSized has a pre-allocated buffer which should help with memory usage - before it grew the buffer. Since we know the size of the chunks, pre-allocating it should be much more efficient. RepeatableReaderBuffer uses the buffer passed in. RepeatableLimit* are convenience funcitions for wrapping a reader in an io.LimitReader and then a RepeatableReader with the same buffer size. |
||
---|---|---|
.. | ||
drive_internal_test.go | ||
drive_test.go | ||
drive.go | ||
upload.go |