Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
orf
1d ago
0 comments
Share
In what world is generating a UUID more expensive than checking for duplicates?
at any scale
?
Walk me through that please
0 comments
default
newest
oldest
erikerikson
1d ago
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.
j
/
k
navigate · click thread line to collapse