Closed mrpdaemon closed 12 years ago
writeBuffer() takes an additional copy of the buffer before calling EncFSCrypto.blockEncode() - we can create a version of blockEncode that accepts array ranges to shave off the extra copy.
Noticed that the same extra copy happens in EncFSInputStream as well.
Fixed with 2ed6748688a3f3433d5afa02fd8eeb6a5ba17ae2
writeBuffer() takes an additional copy of the buffer before calling EncFSCrypto.blockEncode() - we can create a version of blockEncode that accepts array ranges to shave off the extra copy.