Re: What´s the algorithm that compresses a 20 digit big int, into 8 bytes ?
Date: Wed, 24 Mar 2010 09:58:39 -0700 (PDT)
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 ?
> >>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