History of file src/0dev.org/ioutil/ioutil.go at check-in 9ded78a6597b6db8e07d755976eac3768c77c3b6
2014-12-28
| ||
14:14 | Added 0dev.org/ioutil.ReadByte() function and a test for it. CC at 100% file: [83fc64874b] check-in: [879630c89c] user: spaskalev, branch: bpe, size: 3899 [annotate] [blame] [check-ins using] [diff] | |
2014-12-25
| ||
00:26 | Extracted SizedWriter to a sizedWriter struct with a Write() method. file: [c11fdb5a53] check-in: [46da7a6ae9] user: spaskalev, branch: trunk, size: 3711 [annotate] [blame] [check-ins using] [diff] | |
2014-12-24
| ||
23:58 | 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 file: [9862ea3396] check-in: [2cec92909f] user: spaskalev, branch: trunk, size: 3568 [annotate] [blame] [check-ins using] [diff] | |
23:45 | 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. file: [c84493a1fe] check-in: [b703c38e0b] user: spaskalev, branch: trunk, size: 3586 [annotate] [blame] [check-ins using] [diff] | |
23:33 | Made SizedReader faster by keeping explicit buffer indices. file: [e5419d451e] check-in: [701ac713de] user: spaskalev, branch: trunk, size: 3411 [annotate] [blame] [check-ins using] [diff] | |
21:40 | Fixed SizedWriter behavior so that it follows io.Writer's Write(...) contract. Added more tests for 100% CC on the ioutil package. Predictor's compressor now uses SizedWriter and no longer has to do any internal buffering. file: [bca057263b] check-in: [e1778aba98] user: spaskalev, branch: trunk, size: 3385 [annotate] [blame] [check-ins using] [diff] | |
19:07 | Implemented ioutil/SizedWriter. CC at 100%. file: [9da21d39e0] check-in: [c28a763d5e] user: spaskalev, branch: trunk, size: 3146 [annotate] [blame] [check-ins using] [diff] | |
2014-12-23
| ||
20:53 | Renamed BlockReader to SizedReader, modified ioutil tests for 100% code coverage file: [98f8caa018] check-in: [11d1c50cd5] user: spaskalev, branch: trunk, size: 1879 [annotate] [blame] [check-ins using] [diff] | |
18:52 | Renamed MinReader to BlockReader. The later is now used by predictor's decompressor to simplify the code and deal away with the need for internal buffering. file: [f63ac1dff8] check-in: [38f8e62c81] user: spaskalev, branch: trunk, size: 1893 [annotate] [blame] [check-ins using] [diff] | |
18:39 | Additional fixes and code simplification for MinReader file: [3d22f83cbe] check-in: [70896f73e9] user: spaskalev, branch: trunk, size: 1995 [annotate] [blame] [check-ins using] [diff] | |
14:27 | minReader fixes file: [4d4fd7d642] check-in: [4195e7817d] user: spaskalev, branch: trunk, size: 1859 [annotate] [blame] [check-ins using] [diff] | |
10:38 | Added MinReader to ioutils, CC at 100% file: [edab0c9e76] check-in: [47b221d5b4] user: spaskalev, branch: trunk, size: 1744 [annotate] [blame] [check-ins using] [diff] | |
07:52 | Added: Added package ioutil with io.Writer and io.Reader function wrappers file: [404db9969d] check-in: [2bcd5307ea] user: spaskalev, branch: trunk, size: 540 [annotate] [blame] [check-ins using] | |