Crates.io | suid |
lib.rs | suid |
version | 1.0.0 |
source | src |
created_at | 2023-09-07 16:49:06.316694 |
updated_at | 2023-09-07 16:49:06.316694 |
description | Sortable (timestamp-first) unique identifier |
homepage | |
repository | https://github.com/abineo/suid |
max_upload_size | |
id | 966393 |
size | 9,551 |
Random identifiers can be bad for performance when inserting into balanced b-tree indexes.
variant | timestamp bits | random bits |
---|---|---|
u32 , i32 |
16 (hours since unix epoch) | 16 |
u64 , i64 |
40 (seconds since unix epoch) | 24 |
u128 , i128 |
64 (milliseconds since unix epoch) | 64 |