because of performance reasons, hash-maps are not ordered.
the fact that they are ordered for the first 32 elements is just an
implementation detail you shouldn't rely on
Il giorno 05/ago/2012 10.10, "llj098" <liulijin.w...@gmail.com> ha scritto:

> thanks for reply,
>
> I know the sorted-map, but my question is : *why the map is not 'ordered'
> when size is larger than 32 ? *
> *
> *
> *
> *
>
> On Sunday, August 5, 2012 3:53:04 AM UTC+8, Jeff Heon wrote:
>>
>> You are using the map literal, which corresponds to the hash map.
>>
>> Use this if you want a sorted map: http://clojure.github.com/**
>> clojure/clojure.core-api.html#**clojure.core/sorted-map<http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/sorted-map>
>>
>  --
> 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 unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to