Link

Python Performance

Python code is relatively quick and easy to write but it has a reputation for running slowly. How can this be improved?

This involves considerable trial and error. Some examples are in the genpython/performance folder of the tinkering repo.

Books:

  • Gorelick & Ozsvald, ‘High Performance Python’, 1st ed (2014)
  • Lanaro, ‘Python High Performance’, 2nd ed (2017)