Functions like (+), (*), (-), (and probably more) should support
sequences as parameters.
The current way to accomplish this (without implementing your own sum
using reduce) seems to be:
> (apply + (map #(. Math pow 2 %) (range 10)))
... which has to generate the sequence first.
Instead, you sho
ll me
how I might make Clojure more competitive.
http://github.com/stuhood/clojure-conc/tree/master
The benchmark contains 4 bi-directional dictionary implementations:
* MDict - Java implementation using the synchronized keyword,
* RWDict - Java implementation using a ReadWriteLock,
* CL