Python · Performance Engineering · Advanced · 30 min read
Speeding Up Python: Algorithms, Caching, Vectorisation with NumPy, Numba, Cython and When to Go Native
Make Python code fast in the right order. Learn the optimisation ladder: measure, choose better algorithms and data structures, use built-ins and standard-library tools, cache and avoid repeated work, reduce I/O and serialisation costs, vectorise with NumPy and pandas, compile hot loops with Numba or Cython or Rust, parallelise last, and know what Python 3.11+ and PyPy change.
Create an account to start
Create a free account to see what this lesson covers
- Every free lesson in every section, in full
- Track your progress and pick up where you left off
- Free practice questions and an incident simulation
- Takes under a minute: name, email and a password
No card needed. Full access to Python is a paid upgrade you can choose later.