Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-22 Thread danle...@gmail.com
I did some work to reduce consing and our generation of v1 (time-based) UUID's using clj-uuid are now about 40% faster than invoking the JVM's java.util.UUID/randomUUID static method: user> (criterium.core/bench (uuid/v1)) Evaluation count : 51250020 in 60 samples of 854167 calls. Execution t

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-19 Thread Avi Avicenna
Thank you for providing sequential UUID. Looking forward to uuid library that provides squuid. Yours, Avicenna On Tuesday, 17 February 2015 08:25:17 UTC+7, danl...@gmail.com wrote: > > Hello Clojurians, > > I've just been polishing my modest library, clj-uuid < > http://danlentz.github.io/clj-uu

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-18 Thread danle...@gmail.com
These were really good suggestions. As you mentioned, I implemented a UUIDNameBytes Protocol with a default representation of UTF8 for strings and will directly pass-through byte-array local-part for use in v3/v5. On Tuesday, February 17, 2015 at 1:06:11 AM UTC-5, Francis Avila wrote: > > This

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-17 Thread Steven Deobald
It's always a pleasure to see someone fill these gaps. :) Thanks Dan. Steven Deobald -- ⌀ -- nilenso.com On Tue, Feb 17, 2015 at 6:55 AM, danle...@gmail.com wrote: > Hello Clojurians, > > I've just been polishing my modest library, clj-uuid < > http://danlentz.github.io/clj-uuid/> and would lik

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-17 Thread danle...@gmail.com
Adding a UUIDNameBytes protocol is an excellent idea. That is definitely something I will look at doing. Thanks! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-16 Thread Francis Avila
This is nice to have, thank you! uuid v5 generation seems to be something I reimplement over and over, but which is never big enough for a library. I would like to stop doing that and just include your library in the future. However, I think your v3/v5 implementations need much more control over

Re: [ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-16 Thread David Sargeant
Looks good. Thanks for sharing. David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscr

[ANN] clj-uuid: thread-safe, performant unique identifiers

2015-02-16 Thread danle...@gmail.com
Hello Clojurians, I've just been polishing my modest library, clj-uuid and would like to invite everyone to have a look if such a thing might be of interest. What is it? clj-uuid is a Clojure library for generation and utilization of UUIDs (Universally U