3 ms·
If you are accessing a global in a loop you might want to assign it to a local variable first. From what I remember that should result in a speedup in all pytho
by josefx 1y ago
If you are accessing a global in a loop you might want to assign it to a local variable first. From what I remember that should result in a speedup in all python versions.