News for hackers. Stuff that matters.
Re:Loops in Python – Comparison and Performance by chronial on Thursday August 08, 2019 @01:28PM (#20646525)
> On the other hand, the interpreter is able to optimize accesses to stuff on the stack.

That is correct – there is no hash lookup for local variables and the variables in a list comprehension are local.

There are no comments on this comment yet.