9. Programming for Speed
Contents
9. Programming for Speed#
Optimisation
Profiling
Scaling laws
NumPy
Cython
Contents#
9.0 Performance Programming (10 minutes)
9.1 Optimising Mandelbrot (15 minutes)
9.2 Optimising with NumPy (30 minutes)
9.3 Optimising with Cython (25 minutes)
9.4 Optimising with Numba (20 minutes)
9.5 Performance Scaling for Containers and Algorithms (20 minutes)
Total time: 2 hrs
Exercises#
9.6 Classroom Exercises
9.7 Solutions to Classroom Exercises
Self Study#
9.8 Self Study