There is another way to transmit the Huffman table. Instead of transmitting in it's tree form, you could transmit an array of code lenths and use a canonical algorithm to reconstruct the table. This have the advantage of being easier to compress the lengths table with a RLE esque encoding ( supposing not all possible symbols are always used so you could have runs off zeros)
@Nodsaibot7 ай бұрын
3 thousand keystrokes just to move a line of code up xD