JentGent · youtube · en
1Huffman coding achieves entropy only when symbol probabilities are powers of 2 because symbols must be encoded with whole numbers of bits.
“Huffman is one of them, but it only achieves entropy when symbol probabilities are powers of 2 because each symbol has to be encoded with a whole number of bits.”