Shannon-Fano is a minimal prefix code. Huffman coding is optimal for character encoding (one character-one code word) and simple to program. Arithmetic coding is better still, since it can allocate fractional bits, but more complicated.
|  
Search Encyclopedia
 
 |  
Featured Article
 
 | 

