Check-in [50507bd510]
Overview
SHA1:50507bd510ea785ba85b12897d7c3be04f114166
Date: 2014-12-25 00:43:31
User: spaskalev
Comment:Extracted predictor's compressor and decompressor code into separate structs that embed Sized{Writer,Reader}
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-12-25
00:55
[4dfcff962c] Predictor's compressor and decompressor structures now implement io.Writer/io.Reader in order to deal away with function indirection but they do not follow the required semantics. Those are provided by the SizedWriter/SizedReader wrappers returned by the constructor functions. (user: spaskalev, tags: trunk)
00:43
[50507bd510] Extracted predictor's compressor and decompressor code into separate structs that embed Sized{Writer,Reader} (user: spaskalev, tags: trunk)
00:26
[46da7a6ae9] Extracted SizedWriter to a sizedWriter struct with a Write() method. (user: spaskalev, tags: trunk)
Changes

Modified src/0dev.org/predictor/predictor.go from [43e7f751ed] to [cb877636af].    [diff]