Hacker News new | ask | show | jobs
by encukou 5351 days ago
Another CPython quirk is that global (module-level) variables are looked up in a dict, but a function's local variables normally get a reserved chunk of memory that's directly indexable.