optimize the performance

This commit is contained in:
Sven Czarnian
2021-10-17 17:31:29 +02:00
parent 62f2a6c3ed
commit 7a1d4a5959

View File

@@ -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