It seems to me that running differentialTest is a perfectly parallel problem. For my current project, the time taken is too short to just start an analysis in the background, forget about it, and return to look at the results at a later time but it is too long to make interactive work really pleasant.
As far as I can tell, it is a single for loop running all the models. What do you think about parallelizing that, for example, foreach could be a quick replacement?
It seems to me that running
differentialTestis a perfectly parallel problem. For my current project, the time taken is too short to just start an analysis in the background, forget about it, and return to look at the results at a later time but it is too long to make interactive work really pleasant.As far as I can tell, it is a single for loop running all the models. What do you think about parallelizing that, for example,
foreachcould be a quick replacement?