On 20 March 2010 18:29, Andrzej <ndrwr...@googlemail.com> wrote: > Thanks, that's what I was going to do next. You're certainly right > about using fewer, more coarse-grained partitions. BTW, you can check > the number of available processors using (.. Runtime getRuntime > availableProcessors) (that's how pmap is doing it) but ultimately it > might be better to let the user or a system administrator decide about > it.
Thanks, I remembered seeing that availableProcessors property in Clojure code somewhere, turns out it was right under my nose... Anyway, I'm hoping to use a Grand Central Dispatch-using ThreadPool or some such thing in the future; for now pmap is doing fine when handed sufficiently coarse chunks of data for processing. > I was just looking for this presentation! Thank you. Through happy coincidence I was just browsing the slides deck. :-) And now I'm tempted to play with "PersistentConc" in Clojure... All the best, Michał -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.