Re:Nanosecond timestamp collisions are common
by glodalitazic on Friday July 21, 2023 @06:00AM
(#36812000)
Iirc you dont want to spend entropy that you don't need. The advantage of using the time means you need to spend less bits on expensive randomness and thus generation is cheaper.
[ Parent
| on HN ]
Re:Nanosecond timestamp collisions are common
by SV_BubbleTime on Friday July 21, 2023 @12:18PM
(#36815685)
I only work in embedded, so Iām not sure about fancy computers - but when we make UUIDv7s, I am certain the random is faster than pulling the time, formatting for milliseconds, then storing in position.