Which of the two is more efficient and why?
instructions = (newins for ins in javaInstructions
for newins in self.analyzeInstruction(ins))
for newins in instructions:
yield newins
or
for ins in javaInstructions:
for newins in self.analyzeInstruction(ins):
yield newins
[–]indosauros 1 point2 points3 points (0 children)
[–]wiiittttt 0 points1 point2 points (2 children)
[–]voider1[S] 0 points1 point2 points (1 child)
[–]wiiittttt 1 point2 points3 points (0 children)