From 18680437aa9c84162bea8fcd91d6bdbee55b566a Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Wed, 22 Jun 2016 21:18:38 -0400 Subject: [PATCH] optimize terminal-val with fast-constantly --- src/clj/com/rpl/specter.cljx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/com/rpl/specter.cljx b/src/clj/com/rpl/specter.cljx index 0175491..541c5a7 100644 --- a/src/clj/com/rpl/specter.cljx +++ b/src/clj/com/rpl/specter.cljx @@ -226,7 +226,7 @@ the collected values or the value at the location." [p terminal] [v] - (p (constantly v))) + (p (i/fast-constantly v))) (def ^{:doc "Navigate to every element of the collection. For maps navigates to