3 ms·
There is no way around the fact that you need a number of bits to represent a number of different codes. All you can do is take less bits to represent the codes
by tinus_hn 7y ago
There is no way around the fact that you need a number of bits to represent a number of different codes. All you can do is take less bits to represent the codes you want and more to represent those you don’t care about. Using weird representations does not change that. But Huffman coding works with that fact because it represents often-used codes using less bits.