File History

History of src/0dev.org/commands/pdc/main.go

2014-12-25
01:25
[9aabc03cac] part of check-in [2b1ed8e45e] Removed pdc's output buffer when decompressing as io.Copy uses a sufficiently-large buffer internally. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-12-24
23:58
[dfe0b7b6cf] part of check-in [2cec92909f] 0dev.org/ioutil/SizedReader is now as fast as bufio.Reader if not faster for a buffer of 4096 bytes. Switched pdc to use it for decompression buffering and removed profiling code from the former (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
23:45
[675059111f] part of check-in [b703c38e0b] Extracted SizedReader to a sizedReader type with a Read() method. Closures seem to be slower in Go 1.4 and there is no real need for SizedReader to be a closure. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
22:32
[1dda5424c0] part of check-in [1717bfae3b] Use 0dev.org/ioutil.SizedWriter as an output buffer for pdc in both compress and decompress modes. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-12-20
17:44
[c6f8b3fe28] part of check-in [4f0d26907d] Buffer the input on decompressing, not the decompressor itself. This takes pdc -d < linux-3.18.1.tar.pdc > linux-3.18.1.tar down to 11 seconds from 13 minutes :) (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-12-19
21:54
Added [3c0c8016e1] part of check-in [c9f3a59cb6] Implemented commands/pdc using predictor. Made predictor's Compressor(...) return an io.Writer. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using]