Skip to content

Commit a465607

Browse files
committed
perf
1 parent d64d4f9 commit a465607

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/java_time/single_field.cljc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@
4343
`(do
4444
(def ~fields
4545
(->> (jt.u/class->TemporalAccessor-static-fields ~tp)
46-
(vals)
47-
(map (fn [m#] [(keyword (string/lower-case (str m#))) m#]))
48-
(into {})))
46+
vals
47+
(into {} (map (fn [m#] [(keyword (string/lower-case (str m#))) m#])))))
4948

5049
(defn ^{:doc ~(str "True if `" tp "`.")} ~(symbol (str fname "?"))
5150
[o#]

0 commit comments

Comments
 (0)