AG
Size: a a a
AG
AG
AG
doall
или dotimes
T
doall
или dotimes
AG
T
ST
doall
или dotimes
ST
AG
KC
(map #(%) [prn (partial prn 1) prn (partial prn 2)])Вместо вот этой анонимной
(map #(.invoke 😵 (list (constantly 1) (constantly 2)))
T
KC
AR
AG
doall, dorun, dotimes
они специально предназначены для этого.AI
ST
(criterium/quick-bench
(= 0 ::not-found))
Evaluation count : 11431104 in 6 samples of 1905184 calls.
Execution time mean : 51,918017 ns
Execution time std-deviation : 0,652449 ns
Execution time lower quantile : 51,150401 ns ( 2,5%)
Execution time upper quantile : 52,653038 ns (97,5%)
Overhead used : 1,786638 ns
=> nil
(criterium/quick-bench
(identical? 0 ::not-found))
Evaluation count : 112309590 in 6 samples of 18718265 calls.
Execution time mean : 3,800173 ns
Execution time std-deviation : 0,156415 ns
Execution time lower quantile : 3,673879 ns ( 2,5%)
Execution time upper quantile : 4,038221 ns (97,5%)
Overhead used : 1,786638 ns
=> nil
T
doall, dorun, dotimes
они специально предназначены для этого.AG
ST
AR