User loginNavigation |
Python Optimization SurprisesThis weekend, I took another crack at trimming microseconds off the common-case path for generic function execution, and succeeded in dropping the excution time from 13.2 microseconds to just over 9.8. (Which is about 9 microseconds overhead added relative to a hand-optimized Python version of the same trivial function.) Along the way, however, I realized a couple of surprising things about Python performance tuning. An amusing story that tells you something about Python's implementation. The discussion of closures is of particular interest... |
Browse archives
Active forum topics |
Recent comments
34 weeks 4 days ago
34 weeks 4 days ago
34 weeks 4 days ago
1 year 4 weeks ago
1 year 8 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago
1 year 13 weeks ago
1 year 17 weeks ago
1 year 17 weeks ago