mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +00:00
55ddd5317d
This changes `repository.LoadBlob()` so that a destination buffer must be provided, which enables the fuse code to use a buffer from a `sync.Pool`. In addition, release the buffers when the file is closed. At the moment, the max memory usage is defined by the max file size that is read in one go (e.g. with `cat`). It could be further optimized by implementing a LRU caching scheme. |
||
---|---|---|
.. | ||
restic |