python implementation of a new integer encoding algorithm.
Grant Edwards
invalid at invalid.invalid
Wed Feb 18 12:30:24 EST 2015
On 2015-02-18, Dave Angel <davea at davea.name> wrote:
> On 02/18/2015 03:59 AM, janhein.vanderburg at 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?
More information about the Python-list
mailing list