aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2018-01-19 16:12:11 +0100
committerJavi Fontan <jfontan@gmail.com>2018-01-21 21:49:22 +0100
commitf4e603f291c7badaa6489d0f9d00e71bd7fc579c (patch)
treed082f1ed9afe8014c9bbb2b74dcaae6a82c093b9 /storage
parentf6aca0820fb0a44d4c4875a21581a09609d63a6b (diff)
downloadgo-git-f4e603f291c7badaa6489d0f9d00e71bd7fc579c.tar.gz
plumbing: packfile, Add a buffer to crc writer.
crc update with block smaller than 16 bytes uses a slower version of the function. ReadByte is heavily used by zlib inflate so most of the time crc is update byte by byte. A new Flush method is added to the scanner to flush this crc writer cache. It is only called when the Scanner reader is a teeReader. Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'storage')
0 files changed, 0 insertions, 0 deletions