optimize the performance
This commit is contained in:
@@ -103,7 +103,7 @@ class Ant:
|
||||
self.Sequence.append(first)
|
||||
self.SequenceDelay += self.associateInbound(self.Configuration.Inbounds[first], self.Configuration.EarliestArrivalTime)
|
||||
|
||||
while True:
|
||||
while 1:
|
||||
index = self.selectNextLandingIndex(self.Sequence[-1])
|
||||
if None == index:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user