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.go | ||
drive_internal_test.go | ||
drive_test.go | ||
upload.go |