Commit Graph

7 Commits

Author SHA1 Message Date
f4dccc6e46 test(uuid): fix flakiness on slower machines 2025-03-07 01:16:39 +00:00
fe4308607c feat(strings/uuidv7): add UUIDv7 generation (#10)
The UUID v7 format is a time-ordered random UUID. It uses a timestamp
with millisecond precision in the most significant bits, followed by
random data. This provides both uniqueness and chronological ordering,
making it ideal for database primary keys and situations where sorting
by creation time is desired.

References:
- https://uuid7.com/
- https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-uuid-version-7
2025-02-28 02:16:32 +00:00
b59d421322 chore(test): enable parallel test execution
Seems to cut overall total test time down to one third the time.
2021-12-16 20:16:03 +00:00
164ccc497a feat(error): export error variables 2021-12-16 20:15:17 +00:00
825a3c18fb feat(strings): add UUID function to generate random RFC 4122 UUID v4 strings 2021-03-16 02:14:56 +00:00
a755fe957a fix(strings): add missing benchmark for DNSLabel 2021-03-16 02:13:20 +00:00
597fe535d3 feat(rands): initial implementation 2021-01-20 02:58:03 +00:00