I have a model which asks all agents once in go procedure and rest of producers start with a condition, if the agent has that condition will do the tasks.
To go
ask agents
[
Task1
TASK 2
]
end
To Task1
if condition [...]
end
to Task 2
if condition [...]
end
I can do this another way by making my conditions ask agents with [condition] and eliminate the ask in go procedure.
To go
Task1
Task1
End
To task1
ask agents with [Condition1] [...]
end
to task2
ask agents with [Condition2] [...]
end
I have done my entire model using first approach and it will be really time consuming to test it with the second one, I was wondering if anyone had ever find out the impact of these two approaches on performance (if there is any difference at all!)
I would predict no performance difference.