Perf: `rsome` for hash fn

This commit is contained in:
Peter Taoussanis 2016-01-23 14:34:10 +07:00
parent a26ecc6a96
commit e611f7a584
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@
(let [{:keys [?ns-str ?line vargs_]} data (let [{:keys [?ns-str ?line vargs_]} data
vargs @vargs_] vargs @vargs_]
(str (str
(or (some #(and (map? %) (:timbre/hash %)) vargs) ; Explicit hash given (or (enc/rsome #(and (map? %) (:timbre/hash %)) vargs) ; Explicit hash given
#_[?ns-str ?line] ; TODO Waiting on http://goo.gl/cVVAYA #_[?ns-str ?line] ; TODO Waiting on http://goo.gl/cVVAYA
[?ns-str vargs])))) [?ns-str vargs]))))