1
mirror of https://github.com/rclone/rclone synced 2024-12-10 22:33:56 +01:00
rclone/fs/asyncreader
Nick Craig-Wood eb91356e28 fs/asyncreader: optionally user mmap for memory allocation with --use-mmap #2200
This replaces the `sync.Pool` allocator with lib/pool.  This
implements a pool of buffers of up to 64MB which can be re-used but is
flushed every 5 seconds.

If `--use-mmap` is set then rclone will use mmap for memory
allocations which is much better at returning memory to the OS.
2019-02-02 14:35:56 +00:00
..
asyncreader_test.go fs/asyncreader: skip some tests to work around race detector bug 2018-08-20 12:34:29 +01:00
asyncreader.go fs/asyncreader: optionally user mmap for memory allocation with --use-mmap #2200 2019-02-02 14:35:56 +00:00