←back to thread

140 points subset | 1 comments | | HN request time: 0.241s | source
Show context
rienbdj ◴[] No.44374088[source]
How many values can a UUID v4 take?

How many do you have to generate before a collision becomes a remote possibility?

replies(5): >>44374322 #>>44374323 #>>44375553 #>>44379431 #>>44380082 #
1. toast0 ◴[] No.44375553[source]
The question becomes, how bad is your random.

If your random is not uniformly distributed, you might get duplication from bias.

If your random is setup wrong and you get the same seeding multiple times, you might get duplication from that.

If your random is good, the birthday math should hold.