Fork me on GitHub
#admin-announcements
<
2016-09-06
>
nathanmarz14:09:41

Specter 0.13.0 released. Specter is a library that supercharges your ability to query and transform regular data structures. Discuss in #specter https://github.com/nathanmarz/specter/blob/master/CHANGES.md

nathanmarz14:09:28

Also published a benchmark along with the release comparing Specter against various manual ways of doing common operations. This includes comparisons with lazy operations, transducers, transients, clojure.walk, and other miscellaneous functions/interfaces. https://gist.github.com/nathanmarz/b7c612b417647db80b9eaab618ff8d83

Alex Miller (Clojure team)16:09:24

@nathanmarz what version of Clojure is being used for the benchmarks?

Alex Miller (Clojure team)16:09:51

project.clj has 1.7 for dev dependency but it’s hard to tell for the benchmarks themselves. There have been some mods in 1.9 (maybe 1.8 too, not sure) that affect some of these significantly.

Alex Miller (Clojure team)16:09:59

in any case, it should be clear what the comparison is

nathanmarz16:09:40

@alexmiller 1.7.0, will make that clear on the benchmark and publish another one against 1.8.0. Thanks

Alex Miller (Clojure team)16:09:04

kinda nice to see some of these even just for the core calls

Alex Miller (Clojure team)16:09:35

on the “map a function over a vector”, could you add (into [] (map inc) data) (transducer w/ transients) ?

Alex Miller (Clojure team)16:09:30

on “filter a sequence”, maybe (into [] (filter even?) data)