Thanks for the correction, Shantanu. It's indeed 8, I was not sure of
32 anyway. ~BG

On Mon, Sep 30, 2013 at 4:26 PM, Shantanu Kumar
<kumar.shant...@gmail.com> wrote:
> Hi Gavin and BG,
>
>
> On Monday, 30 September 2013 16:06:45 UTC+5:30, Baishampayan Ghose wrote:
>>
>> The second one is actually a PersistentArrayMap and hence properties
>> that might indicate (falsely) that it's a sorted-map (aka
>> PersistentTreeMap). Clojure uses PersistentArrayMap for small maps as
>> an optimisation and automatically promotes to PersistentHashMap when
>> the number of items crosses a certain threshold (32, IIRC).
>
>
> Nitpic: I have noticed array map is up to 8 pairs.
>
> Shantanu
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
Baishampayan Ghose
b.ghose at gmail.com

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to