On Thu, May 24, 2012 at 3:00 AM, Sean Corfield <seancorfi...@gmail.com> wrote: > On Wed, May 23, 2012 at 11:37 PM, Cedric Greevey <cgree...@gmail.com> wrote: >> Replacing (range 10) with (take 10 (iterate inc 0)) didn't change >> anything. It's still not parallelizing. > > My point was that when you replace (range 10) with (range 100) in your > code, it prints numbers up to 31 and no more. You didn't try that, I > presume?
Sounds like pmap is *really* broken. (doall (pmap identity x)) should realize every element of x, surely, just like (doall x)? In any event I have a working workaround now, one that uses an explicit thread pool. It's ugly but it works. -- 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