lib/perf.mal (trivial): println instead of prn and str
authorNicolas Boulenguez <nicolas.boulenguez@free.fr>
Sun, 2 Jun 2019 11:17:41 +0000 (13:17 +0200)
committerNicolas Boulenguez <nicolas.boulenguez@free.fr>
Wed, 17 Jul 2019 22:00:03 +0000 (00:00 +0200)
lib/perf.mal

index 2bc8687..9867b7c 100644 (file)
@@ -11,7 +11,7 @@
       `(let* (~start (time-ms)
               ~ret   ~exp)
         (do
-          (prn (str "Elapsed time: " (- (time-ms) ~start) " msecs"))
+          (println "Elapsed time:" (- (time-ms) ~start) "msecs")
           ~ret)))))
 
 ;; Count evaluations of a function during a given time frame.