optimize the performance

Esse commit está contido em:
Sven Czarnian
2021-10-17 17:31:29 +02:00
commit 7a1d4a5959

Ver arquivo

@@ -103,7 +103,7 @@ class Ant:
self.Sequence.append(first) self.Sequence.append(first)
self.SequenceDelay += self.associateInbound(self.Configuration.Inbounds[first], self.Configuration.EarliestArrivalTime) self.SequenceDelay += self.associateInbound(self.Configuration.Inbounds[first], self.Configuration.EarliestArrivalTime)
while True: while 1:
index = self.selectNextLandingIndex(self.Sequence[-1]) index = self.selectNextLandingIndex(self.Sequence[-1])
if None == index: if None == index:
break break