From 02a4bf09ca8889b7127e6d7d8c384763b98dc3a5 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Thu, 9 Jun 2016 16:43:03 -0400 Subject: [PATCH] upgrade to clojure 1.7.0 for reducers --- project.clj | 2 +- scripts/benchmarks.clj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/project.clj b/project.clj index 927e9a3..d21da7a 100644 --- a/project.clj +++ b/project.clj @@ -41,7 +41,7 @@ :output-path "target/test-classes" :rules :cljs}]} } - :test {:dependencies [[org.clojure/clojure "1.6.0"]]} + :test {:dependencies [[org.clojure/clojure "1.7.0"]]} } :aliases {"cleantest" ["do" "clean," "cljx" "once," diff --git a/scripts/benchmarks.clj b/scripts/benchmarks.clj index 7dc0450..d7844b9 100644 --- a/scripts/benchmarks.clj +++ b/scripts/benchmarks.clj @@ -56,6 +56,7 @@ (run-benchmark "Traverse into a set" 5000 (set data) (set (select ALL data)) + (into #{} (traverse ALL data)) (persistent! (reduce conj! (transient #{}) (traverse ALL data))) (reduce conj #{} (traverse ALL data))