diff options
author | Jakob Unterwurzacher | 2017-07-02 15:59:38 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-07-02 16:02:13 +0200 |
commit | 52ab0462a42c22ccf07d0cc110590fc7db957182 (patch) | |
tree | 61d8424ad71a2685519e60ad1f2aa8353936c7dc /internal/prefer_openssl/prefer.go | |
parent | ab787e18f0283392f5a42c31a29446d71f215c6a (diff) |
fusefrontend: doRead: skip decryption for an empty read
Previously we ran through the decryption steps even for an empty
ciphertext slice. The functions handle it correctly, but returning
early skips all the extra calls.
Speeds up the tar extract benchmark by about 4%.
Diffstat (limited to 'internal/prefer_openssl/prefer.go')
0 files changed, 0 insertions, 0 deletions