Skip to content
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

Closed
wants to merge 4 commits into from
Closed

Commits on Nov 28, 2021

  1. Add UUIDv6 and UUIDv7 draft versions

    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)
    ```
    oittaa authored Nov 28, 2021
    Configuration menu
    Copy the full SHA
    98b99c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd7376b View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. "f" missing from the mask

    oittaa authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    b77240f View commit details
    Browse the repository at this point in the history
  2. Use divmod

    oittaa authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    32cd84d View commit details
    Browse the repository at this point in the history