File History

History of src/0dev.org/encoding/fibonacci/fib.go

2015-01-11
08:44
[ad0ff53aaf] part of check-in [90877fa64f] Switched encoding/fibonacci.Encoder back to using a 2-bytes array as a preallocated write buffer. It seems that it otherwise escapes everytime and calls a causes a lot of allocations and subsequent gc work. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-01-04
16:45
[32c0b16287] part of check-in [9ded78a659] Use a lookup table for fibonacci's encoding of bytes. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-01-02
14:35
[4b4dfe919b] part of check-in [98661a7373] Minor optimizations to fibonacci.Encoder (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2015-01-01
15:19
[3231551b1f] part of check-in [cb736e7ad3] [fibonacci] renamed Writer->Encoder, Reader->Decoder. [mtf] moved package mtf to encoding\mtf (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
15:12
[5685c81b13] part of check-in [f1a8d5baa9] Use a common fibonacci number source for each encoder and decoder. Dropped the two-bytes buffer from the encoder struct. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
14:11
[665b1e0b43] part of check-in [4b9f9bff39] Initial implementation and test of fibonacci.Reader(io.Reader) io.Reader that decodes bytes encoded from fibonacci.Writer(..). CC at 97.5% (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
06:34
[bc261fa076] part of check-in [ea97951fcd] Fixed Decode's length return and added a test for it. Reduce encoder's buffer to 2 bytes. CC at 98.3% (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
05:30
[2d2f3f4577] part of check-in [c7c8d6445f] Added a proper test for fibonacci.Writer that writes 0-255, converts the resulting bits to a string and compares against the result of Numbers.Code for each value. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
04:58
[fe204fcaf6] part of check-in [93fcb281a1] Added fibonacci.Writer(io.Writer) io.Writer that encodes bytes. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
2014-12-30
22:59
[5db8094e9b] part of check-in [ffb139e305] Dropped the Nth method and return a populated slice by fibonacci.New(size). Changed all access to direct indexing. CC at 100% (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
15:01
[36b31aa589] part of check-in [9f5054e305] Minor opmitization to fibonacci's decoding. Changed plaindiff to show line numbers starting from 1. (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using] [diff]
14:03
Added [bab2f5c2b7] part of check-in [7a1684ea05] Added encoding/fibonacci (cc: 100%) (user: spaskalev branch: trunk) [annotate] [blame] [check-ins using]