10 Commits

Author SHA1 Message Date
Timofey Solomko 5f7141fd78 Replace Int arrays in EncodingTree with a new CodingIndex struct
The hope is that this will improve memory layout/management, and, consequently, improve performance (slightly).
2021-05-22 23:34:31 +03:00
Timofey Solomko 1fca632c2d Update copyright year to 2021 2021-03-26 13:50:20 +02:00
Timofey Solomko a844b34436 Update copyright year to 2020 2020-03-20 09:43:42 +03:00
Timofey Solomko 04f64bcb72 Rename Encoding/DecodingHuffmanTree to just Encoding/DecodingTree 2019-03-12 22:31:35 +03:00
Timofey Solomko 142fd44dd2 Remove old CodeLength initializer from Encoding(Huffman)Tree 2019-03-12 22:31:24 +03:00
Timofey Solomko 250c9fbd4c Remove old CodeLength initializer from Decoding(Huffman)Tree 2019-03-12 22:31:13 +03:00
Timofey Solomko 5e51968ca6 Add a func which generates Huffman codes based on their lengths 2019-03-12 22:31:02 +03:00
Timofey Solomko 6889f58461 Add new initiliaziers to huffman trees which init from codes instead of lengths 2019-03-12 22:30:50 +03:00
Timofey Solomko 7ae5cfa1a2 Add a new struct which represents an abstract code from coding tree 2019-03-12 22:30:35 +03:00
Timofey Solomko 9f138f86a6 Move Huffman tree related code into the CodingTree sub-group/directory 2019-03-12 22:30:21 +03:00