1
0
mirror of https://github.com/rclone/rclone.git synced 2025-03-17 20:27:52 +02:00
Nick Craig-Wood e53892f53b fs,drive,dropbox: Make and use new RepeatableReader variants to lower memory use
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.
2017-11-23 13:53:46 +00:00
..
2017-11-15 15:23:21 +00:00
2017-11-17 21:51:11 +00:00
2017-11-15 17:48:37 +03:00
2017-11-20 12:00:32 +00:00
2017-06-20 21:27:14 +01:00
2017-06-07 12:27:33 +01:00
2017-06-07 12:27:33 +01:00
2017-11-15 15:23:21 +00:00
2017-09-30 15:16:09 +01:00
2017-11-17 21:51:11 +00:00