Out of curiosity I implemented an option for parallel processing single thread: "Elapsed time: 39.275432 msecs" parallel: "Elapsed time: 271.072837 msecs" Ouch! I guess all that merging was a bad idea :) Obviously mutating in place would get around that, I could use an unprotected java array as the ij iteration is independent. However I'm just curious if there is a less drastic solution I'm overlooking here? I suspect that using preduce instead of merging may be the trick - but I haven't installed the required preduce libs yet (may try it later).
Code in the same place: http://github.com/timothypratley/strive/blob/master/clj/sandpit/fw.clj --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---