Cython memoryviews can deliver an order-of-magnitude speedup, sometimes over 2600x faster than pure Python for numerical tasks involving NumPy arrays, by eliminating Python object overhead in loops.
Open the full topic