Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


generating unique ID's

This topic is 5338 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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)?

Share this post

Link to post
Share on other sites
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.


[edited by - zealouselixir on April 10, 2004 8:50:47 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!