coding of data according to the entropy, or information content, of the message. Rare messages, carrying more information, are coded with longer words, while common messages, which impart less information, are coded with shorter words.