The Numba Library — or How to Speed Up Python?
summary
Numba is a JIT (Just-In-Time) compilation library for Python that can speed numerical Python code to performance levels near C/C++. The talk explains how the Python interpreter and JIT compilation work, describes Numba’s features, and demonstrates concrete examples of accelerating Python code using Numba.
AI-written summary · about
chapters (20)
- 0:00Numba introduction
- 1:42Python interpreter basics
- 3:09Why Numba speeds up Python
- 5:19Numba compilation
- 8:42Numba modes
- 15:15First Numba example
- 19:35Measuring speedup
- 21:07Numba with DataFrames
- 24:04Parallelism in Numba
- 25:50Real-world model impact
- 26:55Numba pros and cons
- 27:38Numba alternatives
- 30:08Numba beyond data science
- 31:18Debugging Numba code
- 32:01Warmup time
- 33:07Disabling Numba
- 34:13Numba vs PyPy
- 35:19Numba advantages
- 36:46Numba vs Spark
- 37:07Serverless and Numba
