-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UUIDv6 and UUIDv7 draft versions #29824
Conversation
https://github.com/uuid6/uuid6-ietf-draft/ A simple test case to show that these are actually sortable variants: ``` uuid6_1 = uuid6() uuid7_1 = uuid7() for _ in range(100000): uuid6_2 = uuid6() uuid7_2 = uuid7() assert uuid6_1 < uuid6_2 assert uuid7_1 < uuid7_2 uuid6_1, uuid7_1 = uuid6_2, uuid7_2 print(uuid6_1) print(uuid7_1) ```
This comment was marked as resolved.
This comment was marked as resolved.
This PR is stale because it has been open for 30 days with no activity. |
Discussion on the issue and linked thereon suggests that a) the draft standard has changed, making this PR outdated, and b) that approval of the newer draft seems to be getting closer. @oittaa , do you have any intention of updating this? |
I'll close this for now. The standard is still a draft; the PR has conflicts and is based on an older version.
Once the new UUIDs become an official standard, I don't think the feature will need wider discussion than an issue. |
@encukou loooks it is now "proposed standard" > https://www.rfc-editor.org/rfc/rfc9562 |
Which means we can now implement it: https://en.wikipedia.org/wiki/Internet_Standard#Proposed_Standard |
https://github.com/uuid6/uuid6-ietf-draft/
A simple test case to show that these are actually sortable variants: