##// END OF EJS Templates
don't perform costly 'difference_update' on dependencies...
don't perform costly 'difference_update' on dependencies Scheduler: set1.difference_update(set2) can be very slow if set2 is large, even if set1 is empty, so use faster set1 = set1.difference(set2), and don't perform any difference operation on empty dependencies. The result was a dramatic reduction in throughput after the scheduler has routed many thousands of tasks, even with no task dependencies.

File last commit:

r3673:b9f54806
r4141:6443bc1b
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer