##// END OF EJS Templates
check whether all engines are at HWM in a few places...
check whether all engines are at HWM in a few places avoids calling maybe_run on the entire queue when we know that no tasks can be run. This caused an expensive O(N) operation every time an engine just became not-full, which is every time a task finishes in the default case of HWM=1.

File last commit:

r3408:261328d5
r10074:10694996
Show More
__init__.py
4 lines | 90 B | text/x-python | PythonLexer
try:
from simplegeneric import *
except ImportError:
from _simplegeneric import *