On 2015-11-20, Vincent Davis wrote:
> On Thu, Nov 19, 2015 at 9:27 PM, Paul Rubin wrote:
>
>> You can't improve much. A decimal digit carries log(10,2)=3.32 bits
>> of information. A reasonable character set for Twitter-style links
>> might have 80 or so characters (upper/lower alphabetic, digi
On Thu, Nov 19, 2015 at 9:27 PM, Paul Rubin wrote:
> You can't improve much. A decimal digit carries log(10,2)=3.32 bits
> of information. A reasonable character set for Twitter-style links
> might have 80 or so characters (upper/lower alphabetic, digits, and
> a dozen or so punctuation charact
Vincent Davis writes:
> My goal is to shorten a long integer into a shorter set of characters.
> Below is what I have which gets me about a 45-50% reduction. Any suggestion
> on how to improve upon this?
You can't improve much. A decimal digit carries log(10,2)=3.32 bits
of information. A reaso
My goal is to shorten a long integer into a shorter set of characters.
Below is what I have which gets me about a 45-50% reduction. Any suggestion
on how to improve upon this?
I not limited to ascii but I didn't see how going to utf8 would help.
The resulting string needs to be something I could ty