Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nomel
· 2y ago · 0 comments
Bring globals into local scope, never use '.' in tight loops, avoid function calls, etc [1], sure make ugly python code. But, wow, it really can make a difference.
[1]
https://wiki.python.org/moin/PythonSpeed/PerformanceTips
Comments
[–]
physPop
2y ago
I'm not sure how many of those are valid any more.