Performance optimization

suggest change

Remarks

When attempting to improve the performance of a Python script, first and foremost you should be able to find the bottleneck of your script and note that no optimization can compensate for a poor choice in data structures or a flaw in your algorithm design. Identifying performance bottlenecks can be done by profiling your script. Secondly do not try to optimize too early in your coding process at the expense of readability/design/quality.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Performance optimization:
*Performance optimization

Table Of Contents
31Set
139Performance optimization
166Gzip