python implementation of a new integer encoding algorithm.

Marko Rauhamaa marko at pacujo.net
Wed Feb 18 17:08:26 EST 2015


Marko Rauhamaa <marko at pacujo.net>:

> Out of curiosity, could you give me an example of an integer, not
> assuming anything about its value.
>
> I mean, any integer you could mention would be very close to zero
> compared with virtually all other integers.

And I don't mean to be snide, either. I'm just saying that your
"optimal encoding" necessarily depends on the expected distribution of
the integers. There is no such thing as an even distribution of
integers.


Marko



More information about the Python-list mailing list