Fork me on GitHub

I'm pleased to announce the first general release of a beta for injest - a library for combining transducers with the semantics of thread-last forms. injest lowers the bar to high performance in Clojure and ClojureScript. The initially available features are: • Path Threads: Navigate into data like you would with keywords, but with strings, numbers and functions • Auto Transducification: Automatically turn sequence functions in a thread-last into transducers, comping together contiguous ones • Auto Parallelization: (only in CLJ, not CLJS) In addition to the above, comp parallel transducers into their own function, run on r/fold's fork/join pool • Extension: Add non-core transducers to the injest with reg-xf! and reg-pxf!, for single threaded and parallel transducers, respectively • Profiling: Require in from and get a report showing you a performance comparison of all the macro variants at a given line and column for each call-site at runtime (only in CLJ, not CLJS yet) Thanks to everyone who gave feedback on the road to getting this to beta. A short video introduction is available as part of the re:Clojure Data Science Special: workshop.

👍 15
🎉 18
🚅 4

Really interesting lib!


BTW, Thanks for the clj-kondo/LSP section on readme :)


Thanks! And thank you for your work on LSP. At some point I'll be hoping to polish that bit up some more and I'd love to rap with you about how LSP works.

🎉 1

Thank you! Cool, the good news is that next release that whole clj-kondo section would't be necessary anymore :) As @U04V15CAJ implemented auto load configs 🚀

🚀 2

Cool library John! The x>> and =>> macros in particular could be very useful for micro-optimizing codebases with lots of transducer pipelines.