William Hachfeld wrote:
On Thu, Mar 31, 2005 at 12:07:22PM -0800, Jay wrote:Store as hexadecimals.... or even create your own base, say 26 (a-z) + 26 (A-Z) + 10 (0-9), give you
I suppose I could convert the unsigned address into a string. But UINT64_MAX
(2^64 - 1) is:
18,446,744,073,709,551,615
which, without the commas, would require 20 bytes to store. Quite a bit more
than the 8 bytes it should require... Did I mention that I'll be storing tens
to hundreds of thousands of these addresses? ;-)
base of 62....
regards,
Alex