On 2015-02-18, Dave Angel <da...@davea.name> wrote: > On 02/18/2015 03:59 AM, janhein.vanderb...@gmail.com wrote: > > >> encoding individual integers optimally without any assumptions about >> their values. > > Contradiction in terms.
Ah, that depends on whether the encoding has to be lossless or not. For example: def encode_integer(i): return 0; Voila! Optimal encoding with no assumptions about intut values. It is, however, a bit lossy. -- Grant Edwards grant.b.edwards Yow! Did you move a lot of at KOREAN STEAK KNIVES this gmail.com trip, Dingy? -- https://mail.python.org/mailman/listinfo/python-list