Numba Parallel Overhead: When Small Tasks Fail

For minimal workloads, the fixed costs of thread creation, data serialization, and synchronization can outweigh any parallel computation gains, often leading to slower execution than sequential code.

Sources

Open the full topic