mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 22:27:35 +00:00
c206a101a3
There is no real difference between the FutureTree and FutureFile structs. However, differentiating both increases the size of the FutureNode struct. The FutureNode struct is now only 16 bytes large on 64bit platforms. That way is has a very low overhead if the corresponding file/directory was not processed yet. There is a special case for nodes that were reused from the parent snapshot, as a go channel seems to have 96 bytes overhead which would result in a memory usage regression. |
||
---|---|---|
.. | ||
archiver_test.go | ||
archiver_unix_test.go | ||
archiver_windows_test.go | ||
archiver.go | ||
blob_saver_test.go | ||
blob_saver.go | ||
buffer.go | ||
doc.go | ||
file_saver_test.go | ||
file_saver.go | ||
scanner_test.go | ||
scanner.go | ||
testing_test.go | ||
testing.go | ||
tree_saver_test.go | ||
tree_saver.go | ||
tree_test.go | ||
tree.go |