4 ms·
This. Use python only for control flow, and offload data flow to a library that is better suited for this: written in C, uses packed structs, cache friendly, et
by slt2021 1y ago
This. Use python only for control flow, and offload data flow to a library that is better suited for this: written in C, uses packed structs, cache friendly, etc.
if you want multiprocessing, use the multiprocessing library, scatter and gather type computation, etc