> But only one task was active at a time, although Executors was configured > with 4 threads. It occurred to me that map itself is lazy and it is realized > in doseq one at a time. A possible fix is to use for instead of map to > generate tasks
almost makes me wish there were types (er, sorry, metadata) associated with functions that told us if they were single-threaded or not, so one could more quickly find such blocks. :-) -- -- 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/groups/opt_out.