SP
Size: a a a
SP
ST
(defn full-name [{{:keys [first last]} :contact}]
(not-empty (string/trim (str first " " last))))
ST
SP
ST
Evaluation count : 10279998 in 6 samples of 1713333 calls.
Execution time mean : 51,089575 ns
Execution time std-deviation : 3,732990 ns
Execution time lower quantile : 47,849876 ns ( 2,5%)
Execution time upper quantile : 55,295306 ns (97,5%)
Overhead used : 9,065213 ns
(empty? "")
AB
user=> (let [
m {:a "t" :b "u"}
{:keys [a c]} m
]
{:a a :c c})
{:a "t", :c nil}
ST
Evaluation count : 41963778 in 6 samples of 6993963 calls.
Execution time mean : 4,906896 ns
Execution time std-deviation : 1,165543 ns
Execution time lower quantile : 3,965511 ns ( 2,5%)
Execution time upper quantile : 6,251681 ns (97,5%)
Overhead used : 9,065213 ns
(lib.clojure-string.core/empty? "")
SP
SP
SP
SP
SP
SP
SP
SP
SP
DL
DL