logoalt Hacker News

orfyesterday at 11:14 PM1 replyview on HN

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

Walk me through that please


Replies

erikeriksonyesterday at 11:18 PM

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.