News for hackers. Stuff that matters.
Re:LINQ Ruined My Favorite Interview Question by GregWright on Thursday July 11, 2013 @11:19AM (#6026556)
No expert, but from the source it looks like it just uses whatever a 'map' uses to match keys:

  (defn frequencies
    "Returns a map from distinct items in coll to the number of times
    they appear."
    {:added "1.2"
     :static true}
    [coll]
    (persistent!
     (reduce (fn [counts x]
               (assoc! counts x (inc (get counts x 0))))
             (transient {}) coll)))

There are no comments on this comment yet.