Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sokoloff
on June 28, 2023
|
parent
|
context
|
favorite
| on:
Type-safe, K-sortable, globally unique identifier ...
Why not use base-31 and (optionally) more characters? (Or go upper and lower or add a symbol if you had to stay with a fixed-size and base-32 for some reason)
chipsa
on June 29, 2023
[–]
Because Base32 is just bit shifting and then converting the 5 bits into a char, and vice versa. Doing Base31 requires base conversion.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: