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

Supporting ULIDs? #19

Open
tomsing1 opened this issue May 15, 2023 · 0 comments
Open

Supporting ULIDs? #19

tomsing1 opened this issue May 15, 2023 · 0 comments

Comments

@tomsing1
Copy link

Great package! You are already supporting different types of identifiers, but I was wondering if you had considered including ULIDs, e.g. by importing functions from the ulid package?
I learned about ULIDs when I was looking for lexicographically sortable unique identifiers, but they have other advantages as well

[ULILDs] have 128-bit compatibility with 'UUID', 1.21e+24 unique 'ULIDs' per millisecond, are lexicographically sortable, canonically encoded as a 26 character string, as opposed to the 36 character 'UUID', use Crockford's 'base32' for better efficiency and readability (5 bits per character), are case insensitive, have no special characters (i.e. are 'URL' safe) and have a onotonic sort order (correctly detects and handles the same millisecond).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant