in reply to Re: Re: Re: Converting an array of bytes into a BigInt - 1500% quicker.
in thread Converting an array of bytes into a BigInt - speed considerations

Well done for cracking the no-intermediate-string version (ba2bi2_unpack), I was certain that was possible, but didn't succeed in getting there.

Why thank you, but I cant claim much credit as I just systematically tried simplified versions until one worked. pack / unpack still cause me brain aches.

Now just think of the numbers you could get on a 64 bit machine :^)

Until my pay check needs 64bits I dont even want to think about it... *grin*

Regards,

--- demerphq
my friends call me, usually because I'm late....

  • Comment on Re: Re: Re: Re: Converting an array of bytes into a BigInt - 1500% quicker.