From the course: Faster Python Code

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Design and code reviews

Design and code reviews - Python Tutorial

From the course: Faster Python Code

Start my 1-month free trial

Design and code reviews

- [Instructor] The earlier you can detect performance issues the easier they are to fix. Design review is a good way to find performance issues before the code is even written. I've been called several times to fix performance issues at companies. Even though I manage to make things faster, the actual best solution is a redesign and then a rewrite of the system. Sadly, most companies are not willing to invest in such an effort. If the code was designed and reviewed with an eye to performance, this problem would have probably been avoided. I recommend working with a checklist of items and always try to think about potential bottle necks and how to avoid them. Here are a few items I recommend you include on your list. What are the performance restrictions? Designing a system that will process data in a minute is very different from designing one that processes data in a millisecond. You should get hard numbers from the…

Contents