Re:Every UUID Dot Com
by xyst on Friday December 06, 2024 @01:39PM
(#42342714)
Every uuid dot com except if greater than 2^122 -1 doesn’t have the same ring ;)
[ Parent
| on HN ]
There aren't more than 2^122 UUIDv4s.
Re:Every UUID Dot Com
by hikarikuen on Friday December 06, 2024 @09:34PM
(#42346778)
This reminds me of some code I stumbled on recently, where someone had implemented a custom exception they could throw if their 32-bit loop counter was greater than the maximum value of a 32-bit integer.