Fork me on GitHub
#releases
<
2024-03-08
>
Ludger Solbach08:03:37

released version 0.12.0 of Overarch (https://github.com/soulspace-org/overarch) which mainly fixes some issues introduced in v0.10.0 and v0.11.0.

🎉 2
viesti16:03:54

Released 0.2.12 of https://github.com/viesti/timbre-json-appender, which now indents arrays when pretty print enabled. Thanks for pointing this out @vemv :)

gratitude 3
🎉 5
avfonarev10:03:02

It's 0.2.12, right? Not 0.2.22

viesti10:03:15

Whoops! True, thanks for noticing! :)

👍 1
pez16:03:59

👍 1
🎉 1
hlship22:03:01

io.github.hlship/trace 1.1 https://github.com/hlship/trace A small library to improve the experience when using output to debug code using the REPL. Changes: • Migrated from io.aviso/pretty to org.clj-commons/pretty • Added a wrapper around Criterium for benchmarking expressions

🎉 1
hlship22:03:15

An example of the bench macro:

(let [list-data   (doall (map inc (range 1000)))
        vector-data (vec list-data)
        pred        #(< 900 %)
        v1          (fn [pred coll] (first (filter pred coll)))
        v2          (fn [pred coll] (reduce (fn [_ v] (when (pred v)
                                                        (reduced v)))
                                            nil coll))]
    (bench
      (v1 pred list-data)
      (v1 pred vector-data)
      (v2 pred list-data)
      (v2 pred vector-data)))
           Expression |    Mean |        Var
  (v1 pred list-data) | 7.76 µs | ± 76.66 ns
(v1 pred vector-data) | 7.94 µs | ± 74.06 ns (slowest)
  (v2 pred list-data) | 4.03 µs | ± 42.25 ns (fastest)
(v2 pred vector-data) | 4.87 µs | ± 49.15 ns