Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wheelerof4te
· 4y ago · 0 comments
This is one of the most common
optimizations
in Python, simply because the lookup code for modules/class instances is horrible and slow.
Comments
[–]
staticassertion
4y ago
It'd be nice if there were a tool you could run over your code that did this sort of thing. Even if it can technically break shit in absurd cases, I'd totally run it on my code, which isn't absurd.