3c6fe98eb1
We use two levels of buffers: 1) 4kiB+overhead for each ciphertext block 2) 128kiB+overhead for each FUSE write (32 ciphertext blocks) This commit adds a sync.Pool for both levels. The memory-efficiency for small writes could be improved, as we now always use a 128kiB buffer. |
||
---|---|---|
.. | ||
content_test.go | ||
content.go | ||
file_header.go | ||
intrablock.go | ||
offsets.go |