added benchmark helper to impl

This commit is contained in:
Nathan Marz 2015-04-18 12:17:09 -04:00
parent ca1940a026
commit ea05b98280

View file

@ -4,6 +4,11 @@
[clojure.core.reducers :as r])
)
(defn benchmark [iters afn]
(time
(dotimes [_ iters]
(afn))))
(defprotocol CoerceStructureValsPath
(coerce-path [this]))