让我们比较一下:
for path in filePaths :
if(self.module!=organizer and self.module!=decoder):
# some code with loops
elif(self.module==decoder):
# some code with loops
和这个:
if(self.module!=organizer and self.module!=decoder):
for path in filePaths :
# some code with loops
elif(self.module==decoder):
for path in filePaths :
# some code with loops
哪一个是最有效的,为什么?
芜湖不芜
相关分类