mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-08 09:25:08 +01:00
removed the set copy to enable faster iterations
This commit is contained in:
parent
6d05e237d2
commit
a4b03b0fd6
@ -21,10 +21,10 @@ class SetOfTasks(object):
|
||||
self._owner = owner
|
||||
|
||||
def __iter__(self):
|
||||
tasks = set(self._set) # make a copy
|
||||
for g in self._owner.run_after_groups:
|
||||
tasks.update(g)
|
||||
for task in tasks:
|
||||
for task in g:
|
||||
yield task
|
||||
for task in self._set:
|
||||
yield task
|
||||
|
||||
def add(self, obj):
|
||||
|
Loading…
Reference in New Issue
Block a user