ID generator
Hi,
I would like feed back on a ID generator I just made. What positive and negative effects do you see with this. It's programmed in Java, but could just as easily be programmed in any other typical language. It's thread safe and does not use any synchronization. When testing it on my laptop, I was able to generate 10 million IDs within about 15 seconds, so it should be more than fast enough.
Take a look at the attachment.. (had to rename it from IdGen.java to IdGen.txt to attach it)
IdGen.java