2 ms·
> I thought that if you were at global scope it loaded the whole global scope dictionary as the current-scope-array? No, it doesn't. There are two separate opc
by pdonis 6y ago
> I thought that if you were at global scope it loaded the whole global scope dictionary as the current-scope-array?
No, it doesn't. There are two separate opcodes involved: LOAD_FAST loads a local variable from the local array based on its index; LOAD_GLOBAL loads a global variable based on the global dictionary lookup.