Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The scope lifting (I forget what this performance hack is called), `_len = len` etc., is unsatisfying.


I noticed that, but haven't any idea what the purpose is?


It's a speed optimization. Local lookups are faster than global lookups in Python.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: