> => {1 "this", 1 "is", 1 "strange"}

The literal representation is just blasted into an array map when the
number of entries are below a certain threshold (8 maybe).  I think
the general view is that a literal with duplicate keys is the error
and to check for dups would sacrifice speed.

> (into {} {1 "this" 1 "is" 1 "strange"})

This uses a regular hash map.

> {1 "this" 1 "is" 1 "strange" 1 "but" 1 "if" 1 "I" 1 "try" 1 "hard" 1  
> "enough"}

I guess the threshold is indeed 8.

-m
-- 
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

Reply via email to