Section 1: Python-Native and Specialized Optimization

Python, along with its many libraries and packages, offers specialized data structures and classes that facilitate highly optimized operations. You will learn how to navigate through these different tools and use them appropriately to accelerate your Python program.

This section contains the following chapters:

  • Chapter 1, Benchmarking and Profiling
  • Chapter 2, Pure Python Optimizations
  • Chapter 3, Fast Array Operations with NumPy, Pandas, and Xarray
  • Chapter 4, C Performance with Cython
  • Chapter 5, Exploring Compilers
  • Chapter 6, Automatic Differentiation and Accelerated Linear Algebra for Machine Learning

Get Advanced Python Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.