Print

Print


On Dec 7, 2007, at 10:42 AM, Maciej M. Latek wrote:

> With #0 and large number of computationally inexpensive and  
> homogeneous agents, MASON could offer new Schedule construct. Using  
> ParallelSequence is too expensive: it is not economical to spawn a  
> new Thread for each agent when execution of agent is sometimes  
> order of magnitude cheaper than relevant operations of  
> ParallelSequence.

Maciej, ParallelSequence doesn't construct new threads.  It maintains  
an existing thread pool and thus should be about as fast as you can get.

Sean