Why Clojure map literal creates an instance of array map?

2012-08-10 Thread Hussein B.
Hi, Why Clojure map literal creates an instance of array map but not hash map? What are the advantages of array map over hash map? 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

Re: Why Clojure map literal creates an instance of array map?

2012-08-10 Thread Tamreen Khan
. hubaghd...@gmail.com wrote: Hi, Why Clojure map literal creates an instance of array map but not hash map? What are the advantages of array map over hash map? Thanks. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Re: Why Clojure map literal creates an instance of array map?

2012-08-10 Thread Hussein B.
doesn't copy the entire map. Copying a small 5 element map isn't a big deal, but copying one with several thousand elements is. On Fri, Aug 10, 2012 at 5:43 PM, Hussein B. hubag...@gmail.comjavascript: wrote: Hi, Why Clojure map literal creates an instance of array map but not hash map? What