aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/rpath_cache.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-07-02 15:59:38 +0200
committerJakob Unterwurzacher2017-07-02 16:02:13 +0200
commit52ab0462a42c22ccf07d0cc110590fc7db957182 (patch)
tree61d8424ad71a2685519e60ad1f2aa8353936c7dc /internal/fusefrontend_reverse/rpath_cache.go
parentab787e18f0283392f5a42c31a29446d71f215c6a (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/fusefrontend_reverse/rpath_cache.go')
0 files changed, 0 insertions, 0 deletions