3 ms·
> 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
by chronial 7y ago
> 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.