Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hayd
· 10y ago · 0 comments
The scope lifting (I forget what this performance hack is called), `_len = len` etc., is unsatisfying.
Comments
[–]
elliptic
10y ago
I noticed that, but haven't any idea what the purpose is?
[–]
pmiller2
10y ago
It's a speed optimization. Local lookups are faster than global lookups in Python.