A transducer produces a reducing function, which processes in serial. You can manually divide up the work into sections if you have some way of combining the results at the end, however. I believe the clojure.core.reducers namespace will work with any reducing function that doesn't need a finalizer (e.g. 1-arity form), though you'll have to supply your own combining function.
On Fri, 25 Jan 2019 at 22:19, Brian Craft <craft.br...@gmail.com> wrote: > Are there any docs on transducer parallelism? I had the impression, from > various sources, that they could operate in parallel, but in doing some > benchmarks over a largish collection (counting character frequencies in > 1.3M strings), transduce never uses more than one thread. Is this expected? > If not, how would one debug it? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- James Reeves booleanknot.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.