Hacker News new | ask | show | jobs
by josefx 242 days 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.