Re: What´s the algorithm that compresses a 20 digit big int, into 8 bytes ?

From: Rafael Anschau <rafael.anschau_at_gmail.com>
Date: Wed, 24 Mar 2010 09:58:39 -0700 (PDT)
Message-ID: <7ce2caed-5af9-4e7a-8ff5-e5419df41756_at_35g2000yqm.googlegroups.com>


On Mar 24, 1:02 pm, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
> Rafael Anschau wrote:
> > On Mar 24, 11:38 am, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
>
> >>Rafael Anschau wrote:
>
> >>>Does anybody knows ?
>
> >>>Thanks
>
> >>Multiply by 10 and add digit; repeat
>
> >>That's neither a database nor a theory question, though.
>
> > Asking what algorithm a database uses internally is a database
> > question.
>
> The database implementation is likely to just call a procedure or
> function akin to atoi.

It actually converts to binary. Just found out somewhere else, in case someone is interested in how databases implements this particular feature. Received on Wed Mar 24 2010 - 17:58:39 CET

Original text of this message