generating unique ID's
how could i generate 18,446,744,073,709,551,616 unique ID''s? is it even possible to store such data (perhaps only a certain amount at a time)?
1.84x10^19 can be represented with 64 bits. You had to have known that.
edit: So, to continue, 2^64 values * 2^6 bits = 1180591620717411303424 bits, which is 140737488355328 Mo. So, practically, speaking, you probably can't store the values along with any meaningful data in a reasonable number of commonly-available modern mass storage devices.
Later,
ZE.
[edited by - zealouselixir on April 10, 2004 8:50:47 PM]
edit: So, to continue, 2^64 values * 2^6 bits = 1180591620717411303424 bits, which is 140737488355328 Mo. So, practically, speaking, you probably can't store the values along with any meaningful data in a reasonable number of commonly-available modern mass storage devices.
Later,
ZE.
[edited by - zealouselixir on April 10, 2004 8:50:47 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement