Comment by erikerikson

16 hours ago

There are better approaches like pre -avoiding collisions but generating tends to be more expensive than checking.

In what world is generating a UUID more expensive than checking for duplicates? at any scale?

Walk me through that please

  • Yeah, that was a little sloppy but it's generating is more expensive than not generating. In more words, generating an id and validating uniqueness is more expensive than only validating uniqueness.