1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-12-19 20:06:30 +00:00
tar-split/tar/storage
Alexander Morozov 45399711c2 tar/storage: Replace TeeReader with MultiWriter
It uses slightly less memory and more understandable.
Benchmar results:

benchmark             old ns/op     new ns/op     delta
BenchmarkPutter-4     57272         52375         -8.55%

benchmark             old allocs     new allocs     delta
BenchmarkPutter-4     21             19             -9.52%
benchmark             old bytes     new bytes     delta
BenchmarkPutter-4     19416         13336         -31.31%

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-08-13 11:43:31 -07:00
..
doc.go *: clean up assorted spelling/grammar issues 2015-07-22 15:32:49 -04:00
entry.go *: clean up assorted spelling/grammar issues 2015-07-22 15:32:49 -04:00
entry_test.go storage: working on packing and unpacking 2015-02-24 15:22:20 -05:00
getter.go tar/storage: Replace TeeReader with MultiWriter 2015-08-13 11:43:31 -07:00
getter_test.go tar/storage: Benchmark for bufferFileGetPutter.Put 2015-08-13 11:42:14 -07:00
packer.go tar/storage: switch to map[string]struct{} for set 2015-07-22 15:32:49 -04:00
packer_test.go *: golint and docs 2015-03-09 14:11:11 -04:00