optimize the performance

This commit is contained in:
Sven Czarnian committed 2021-10-17 17:31:29 +02:00
1 parent 62f2a6c3ed
commit 7a1d4a5959
1 file changed
+1 -1
+1 -1
View File
@@ -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