Numba
infra
Numba compiles slow Python math into fast machine code, often with a single decorator. We used it on the hot parts of the stitching matcher to speed them up well past plain Python.
For engineers: LLVM-based JIT for numerical Python; with @jit(fastmath=True) and multiprocessing it sped up the box-shifting hot path.