clj-uuid
clj-uuid copied to clipboard
RFC4122 Unique Identifiers (v1,v3,v4,v5, squuid) for Clojure
Per RFC 4122, section 3, "Rules for Lexical Equivalence": >Consider each field of the UUID to be an **unsigned** integer as shown >in the table in section Section 4.1.2. IIUC,...
`(:require [primitive-math :refer :all]` results in ``` WARNING: unsigned-bit-shift-right already refers to: #'clojure.core/unsigned-bit-shift-right in namespace: clj-uuid.bitmop, being replaced by: #'primitive-math/unsigned-bit-shift-right ``` See https://github.com/danlentz/clj-uuid/blob/c2a284dc799e88a31e5e4d05eb028679376a2a0e/src/clj_uuid/bitmop.clj#L6
re #41 - we might as well include ByteBuffer support too?
Proof of concept code contributed by @leifp in branch "partial-eval"
this could save on v3/v5 hash but maybe some LRU cache might be more mindful of heap space
wip [draft-peabody-dispatch-new-uuid-format-04](https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html)
This library has worked really well for us generating deterministic (v5) UUIDs. We also would benefit from using the new v7 UUIDs and would prefer to centralize UUID support in...
Various non-breaking improvements and optimizations: - Create a deps.edn - Support GraalVM (deprecate single segment namespace) - Further improve randomness - Improve and update documentation **Resolved By:** https://github.com/danlentz/clj-uuid/pull/56
WIP - [x] Create `deps.edn` - [x] Enhanced Randomness of v7 sub-counter - [ ] Improvements to docs - [ ] Revisit v1,v6 lsb; make clear that v1 lsb does...