[ANN] data.avl 0.0.10 -- fast sorted maps and sets with log-time rank queries

2014-01-04 Thread Michał Marczyk
Hi, I am pleased to announce the initial Clojure Contrib release of data.avl (previously known as avl.clj), a library implementing drop-in replacements for Clojure(Script)'s sorted maps and sets with faster lookups, support for the transient API (leading to unambiguously improved performance for m

Re: [ANN] data.avl 0.0.10 -- fast sorted maps and sets with log-time rank queries

2014-01-05 Thread Brandon Bloom
Michał: This is awesome. Thanks for the continued awesome work on data structures! > ;; if the key is not present in the collection, -1 is returned: > (avl/rank-of (avl/sorted-set 3 4 5) 0) > ;= -1 > Curious: Why not return nil instead of -1? -- -- You received this message because

Re: [ANN] data.avl 0.0.10 -- fast sorted maps and sets with log-time rank queries

2014-01-05 Thread Mikera
On Sunday, 5 January 2014 23:33:41 UTC, Brandon Bloom wrote: > > Michał: This is awesome. Thanks for the continued awesome work on data > structures! > > >> ;; if the key is not present in the collection, -1 is returned: >> (avl/rank-of (avl/sorted-set 3 4 5) 0) >> ;= -1 >> > > Curious:

Re: [ANN] data.avl 0.0.10 -- fast sorted maps and sets with log-time rank queries

2014-01-06 Thread Michał Marczyk
On 6 January 2014 00:33, Brandon Bloom wrote: > Michał: This is awesome. Thanks for the continued awesome work on data > structures! > >> >> ;; if the key is not present in the collection, -1 is returned: >> (avl/rank-of (avl/sorted-set 3 4 5) 0) >> ;= -1 > > > Curious: Why not return nil in