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

History of file src/0dev.org/encoding/fibonacci/fib.go at check-in 87e5dc43ffd3500a

2015-01-11
08:44
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. file: [ad0ff53aaf] check-in: [90877fa64f] user: spaskalev, branch: trunk, size: 5752 [annotate] [blame] [check-ins using] [diff]
2015-01-04
16:45
Use a lookup table for fibonacci's encoding of bytes. file: [32c0b16287] check-in: [9ded78a659] user: spaskalev, branch: trunk, size: 5739 [annotate] [blame] [check-ins using] [diff]
2015-01-02
14:35
Minor optimizations to fibonacci.Encoder file: [4b4dfe919b] check-in: [98661a7373] user: spaskalev, branch: trunk, size: 5422 [annotate] [blame] [check-ins using] [diff]
2015-01-01
15:19
[fibonacci] renamed Writer->Encoder, Reader->Decoder. [mtf] moved package mtf to encoding\mtf file: [3231551b1f] check-in: [cb736e7ad3] user: spaskalev, branch: trunk, size: 4946 [annotate] [blame] [check-ins using] [diff]
15:12
Use a common fibonacci number source for each encoder and decoder. Dropped the two-bytes buffer from the encoder struct. file: [5685c81b13] check-in: [f1a8d5baa9] user: spaskalev, branch: trunk, size: 4716 [annotate] [blame] [check-ins using] [diff]
14:11
Initial implementation and test of fibonacci.Reader(io.Reader) io.Reader that decodes bytes encoded from fibonacci.Writer(..). CC at 97.5% file: [665b1e0b43] check-in: [4b9f9bff39] user: spaskalev, branch: trunk, size: 4827 [annotate] [blame] [check-ins using] [diff]
06:34
Fixed Decode's length return and added a test for it. Reduce encoder's buffer to 2 bytes. CC at 98.3% file: [bc261fa076] check-in: [ea97951fcd] user: spaskalev, branch: trunk, size: 4657 [annotate] [blame] [check-ins using] [diff]
05:30
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. file: [2d2f3f4577] check-in: [c7c8d6445f] user: spaskalev, branch: trunk, size: 4132 [annotate] [blame] [check-ins using] [diff]
04:58
Added fibonacci.Writer(io.Writer) io.Writer that encodes bytes. file: [fe204fcaf6] check-in: [93fcb281a1] user: spaskalev, branch: trunk, size: 4074 [annotate] [blame] [check-ins using] [diff]
2014-12-30
22:59
Dropped the Nth method and return a populated slice by fibonacci.New(size). Changed all access to direct indexing. CC at 100% file: [5db8094e9b] check-in: [ffb139e305] user: spaskalev, branch: trunk, size: 1847 [annotate] [blame] [check-ins using] [diff]
15:01
Minor opmitization to fibonacci's decoding. Changed plaindiff to show line numbers starting from 1. file: [36b31aa589] check-in: [9f5054e305] user: spaskalev, branch: trunk, size: 1826 [annotate] [blame] [check-ins using] [diff]
14:03
Added: Added encoding/fibonacci (cc: 100%) file: [bab2f5c2b7] check-in: [7a1684ea05] user: spaskalev, branch: trunk, size: 1648 [annotate] [blame] [check-ins using]