5 ms·
So you basically mean UUID v6, the missing version of UUID which would be sortable too [1] [2] [1] https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-
by chrisandchris 6y ago
So you basically mean UUID v6, the missing version of UUID which would be sortable too [1] [2]
[1] https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-format https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-...
[2] http://gh.peabody.io/uuidv6/ http://gh.peabody.io/uuidv6/
- skrause 6y agoIt's funny that this took so long since multiple people in this thread (including me) mentioned that they implemented their own UUID generation function which encodes the timestamp into the first bits just to create sortable UUIDs.
- Vanderson 6y agoIt appears that UUID v6 is still a proposal, as of August 2020. Also, this sounds like a non-starter for UUID v6: "Like version 1 UUIDs, version 6 UUIDs use a MAC address from a local hardware network interface." https://uuid.ramsey.dev/en/latest/nonstandard/version6.html https://uuid.ramsey.dev/en/latest/nonstandard/version6.html