array-map turns into a hashmap after ten insertions, currently, but
that's far from guaranteed:
user> (->> {}
(iterate #(assoc % (rand-int 1e6) 1))
(drop-while (comp #{(class {})} class))
(first)
(count))
10
My ordered-set/map are now available on clojars: depend on [ordered
"0.3.0"]
On Jun 25, 3:56 pm, Alex Baranosky <[email protected]>
wrote:
> I wonder at what point array-map becomes a hash-map? Maybe I could use it?
> .... On second thought, I don't really want to depend on something so
> flimsy.
>
> Alan, is your ordered map code available on clojars?
>
> Alex
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en